diff options
Diffstat (limited to 'package')
-rw-r--r-- | package/busybox/busybox.mk | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/package/busybox/busybox.mk b/package/busybox/busybox.mk index 497aa76a0..de7866137 100644 --- a/package/busybox/busybox.mk +++ b/package/busybox/busybox.mk @@ -16,12 +16,12 @@ BUSYBOX_SOURCE:=busybox-$(BUSYBOX_VER).tar.bz2 BUSYBOX_SITE:=http://www.busybox.net/downloads endif BUSYBOX_UNZIP=bzcat -BUSYBOX_CONFIG:=package/busybox/busybox.config +BUSYBOX_CONFIG_FILE:=package/busybox/busybox.config $(DL_DIR)/$(BUSYBOX_SOURCE): $(WGET) -P $(DL_DIR) $(BUSYBOX_SITE)/$(BUSYBOX_SOURCE) -busybox-source: $(DL_DIR)/$(BUSYBOX_SOURCE) $(BUSYBOX_CONFIG) +busybox-source: $(DL_DIR)/$(BUSYBOX_SOURCE) $(BUSYBOX_CONFIG_FILE) $(BUSYBOX_DIR)/.unpacked: $(DL_DIR)/$(BUSYBOX_SOURCE) $(BUSYBOX_UNZIP) $(DL_DIR)/$(BUSYBOX_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - @@ -29,8 +29,8 @@ $(BUSYBOX_DIR)/.unpacked: $(DL_DIR)/$(BUSYBOX_SOURCE) toolchain/patch-kernel.sh $(BUSYBOX_DIR) package/busybox busybox-\*.patch touch $(BUSYBOX_DIR)/.unpacked -$(BUSYBOX_DIR)/.configured: $(BUSYBOX_DIR)/.unpacked $(BUSYBOX_CONFIG) - cp $(BUSYBOX_CONFIG) $(BUSYBOX_DIR)/.config +$(BUSYBOX_DIR)/.configured: $(BUSYBOX_DIR)/.unpacked $(BUSYBOX_CONFIG_FILE) + cp $(BUSYBOX_CONFIG_FILE) $(BUSYBOX_DIR)/.config $(SED) "s,^CROSS.*,CROSS=$(TARGET_CROSS)\n\ PREFIX=$(TARGET_DIR),;" $(BUSYBOX_DIR)/Rules.mak ifeq ($(BR2_LARGEFILE),y) |