BUSYBOX_SITE:=http://www.busybox.net/downloads
endif
BUSYBOX_UNZIP=bzcat
-BUSYBOX_CONFIG:=./busybox.config
$(DL_DIR)/$(BUSYBOX_SOURCE):
- $(WGET) -P $(DL_DIR) $(BUSYBOX_SITE)/$(BUSYBOX_SOURCE)
+ $(SCRIPT_DIR)/download.pl $(DL_DIR) $(BUSYBOX_SOURCE) x $(BUSYBOX_SITE)
busybox-source: $(DL_DIR)/$(BUSYBOX_SOURCE) $(BUSYBOX_CONFIG)
$(PATCH) $(BUSYBOX_DIR) ./patches
touch $(BUSYBOX_DIR)/.unpacked
-$(BUSYBOX_DIR)/.configured: $(BUSYBOX_DIR)/.unpacked $(BUSYBOX_CONFIG)
+$(BUSYBOX_DIR)/.configured: $(BUSYBOX_DIR)/.unpacked
$(SCRIPT_DIR)/gen_busybox_config.pl $(TOPDIR)/.config > $(BUSYBOX_DIR)/.config
# cp $(BUSYBOX_CONFIG) $(BUSYBOX_DIR)/.config
# $(SED) "s,^CROSS.*,CROSS=$(TARGET_CROSS)\n\