diff options
author | Eric Andersen <andersen@codepoet.org> | 2002-05-03 09:51:16 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2002-05-03 09:51:16 +0000 |
commit | 82d5d3224c5f162229515e267f20f91ae3af58d9 (patch) | |
tree | b841fdc714c4bdec374e12c8654ba34e2d825150 /make | |
parent | 875ee0b34d98210a154a3be37366503d390fa78e (diff) | |
download | buildroot-novena-82d5d3224c5f162229515e267f20f91ae3af58d9.tar.gz buildroot-novena-82d5d3224c5f162229515e267f20f91ae3af58d9.zip |
Update busybox
Diffstat (limited to 'make')
-rw-r--r-- | make/busybox.mk | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/make/busybox.mk b/make/busybox.mk index 36c0c41fc..f12fa5bc7 100644 --- a/make/busybox.mk +++ b/make/busybox.mk @@ -23,18 +23,24 @@ $(DL_DIR)/$(BUSYBOX_SOURCE): busybox-source: $(DL_DIR)/$(BUSYBOX_SOURCE) $(BUSYBOX_PATCH) -$(BUSYBOX_DIR)/Config.h: $(DL_DIR)/$(BUSYBOX_SOURCE) $(BUSYBOX_PATCH) +$(BUSYBOX_DIR)/.unpacked: $(DL_DIR)/$(BUSYBOX_SOURCE) $(BUSYBOX_PATCH) $(BUSYBOX_UNZIP) $(DL_DIR)/$(BUSYBOX_SOURCE) | tar -C $(BUILD_DIR) -xvf - + touch $(BUSYBOX_DIR)/.unpacked + +$(BUSYBOX_DIR)/.patched: $(BUSYBOX_DIR)/.unpacked cat $(BUSYBOX_PATCH) | patch -d $(BUSYBOX_DIR) -p1 ifeq ($(strip $(BUILD_WITH_LARGEFILE)),true) perl -i -p -e "s/^DOLFS.*/DOLFS=true/;" $(BUSYBOX_DIR)/Makefile endif + touch $(BUSYBOX_DIR)/.patched -$(BUSYBOX_DIR)/busybox: $(BUSYBOX_DIR)/Config.h +$(BUSYBOX_DIR)/busybox: $(BUSYBOX_DIR)/.patched make CROSS="$(TARGET_CROSS)" PREFIX="$(TARGET_DIR)" -C $(BUSYBOX_DIR) + touch $(BUSYBOX_DIR)/busybox $(TARGET_DIR)/bin/busybox: $(BUSYBOX_DIR)/busybox make CROSS="$(TARGET_CROSS)" PREFIX="$(TARGET_DIR)" -C $(BUSYBOX_DIR) install + cp -a $(BUSYBOX_DIR)/busybox $(TARGET_DIR)/bin/busybox busybox: uclibc $(TARGET_DIR)/bin/busybox |