1 #############################################################
5 # http://abaababa.ouvaton.org/wipe/wipe-0.20.tar.gz
6 #############################################################
7 WIPE_SOURCE
:=wipe-0.20.
tar.gz
8 #WIPE_PATCH:=wipe_0.2-19.diff.gz
9 WIPE_SITE
:=http
://abaababa.ouvaton.org
/wipe
11 WIPE_DIR
:=$(BUILD_DIR
)/wipe-0.20
13 WIPE_TARGET_BINARY
:=bin
/wipe
15 $(DL_DIR
)/$(WIPE_SOURCE
):
16 $(WGET
) -P
$(DL_DIR
) $(WIPE_SITE
)/$(WIPE_SOURCE
)
18 ifneq ($(WIPE_PATCH
),)
19 $(DL_DIR
)/$(WIPE_PATCH
):
20 $(WGET
) -P
$(DL_DIR
) $(WIPE_SITE
)/$(WIPE_PATCH
)
23 wipe-source
: $(DL_DIR
)/$(WIPE_SOURCE
) $(DL_DIR
)/$(WIPE_PATCH
)
25 $(WIPE_DIR
)/.unpacked
: $(DL_DIR
)/$(WIPE_SOURCE
) $(DL_DIR
)/$(WIPE_PATCH
)
26 $(WIPE_CAT
) $(DL_DIR
)/$(WIPE_SOURCE
) |
tar -C
$(BUILD_DIR
) $(TAR_OPTIONS
) -
27 #toolchain/patch-kernel.sh $(WIPE_DIR) $(DL_DIR) $(WIPE_PATCH)
28 touch
$(WIPE_DIR
)/.unpacked
30 $(WIPE_DIR
)/.configured
: $(WIPE_DIR
)/.unpacked
31 touch
$(WIPE_DIR
)/.configured
33 $(WIPE_DIR
)/$(WIPE_BINARY
): $(WIPE_DIR
)/.configured
34 $(MAKE
) CC
=$(TARGET_CC
) -C
$(WIPE_DIR
) generic
36 $(TARGET_DIR
)/$(WIPE_TARGET_BINARY
): $(WIPE_DIR
)/$(WIPE_BINARY
)
37 cp
-a
$(WIPE_DIR
)/$(WIPE_BINARY
) $(TARGET_DIR
)/$(WIPE_TARGET_BINARY
)
39 wipe
: uclibc
$(TARGET_DIR
)/$(WIPE_TARGET_BINARY
)
42 #$(MAKE) DESTDIR=$(TARGET_DIR) CC=$(TARGET_CC) -C $(WIPE_DIR) uninstall
43 -$(MAKE
) -C
$(WIPE_DIR
) clean
48 #############################################################
50 # Toplevel Makefile options
52 #############################################################
53 ifeq ($(strip $(BR2_PACKAGE_WIPE
)),y
)