busybox: rebuild if .config changed
authorPeter Korsgaard <jacmet@sunsite.dk>
Thu, 29 Jan 2009 11:29:49 +0000 (11:29 -0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Thu, 29 Jan 2009 11:29:49 +0000 (11:29 -0000)
As reported on irc - Fixes busybox-menuconfig

package/busybox/busybox.mk

index 4fb5bb96cf549738d87a5242ca093b769ab3d0f8..8e725104656a8a4a8130a308209b57c90314d764 100644 (file)
@@ -42,7 +42,7 @@ else
 endif
        touch $@
 
-$(BUSYBOX_DIR)/.configured: $(BUSYBOX_DIR)/.unpacked $(BUSYBOX_CONFIG_FILE)
+$(BUSYBOX_DIR)/.config: $(BUSYBOX_DIR)/.unpacked $(BUSYBOX_CONFIG_FILE)
        cp -f $(BUSYBOX_CONFIG_FILE) $(BUSYBOX_DIR)/.config
        $(SED) s,^CONFIG_PREFIX=.*,CONFIG_PREFIX=\"$(TARGET_DIR)\", \
                $(BUSYBOX_DIR)/.config
@@ -97,7 +97,7 @@ endif
        touch $@
 
 
-$(BUSYBOX_DIR)/busybox: $(BUSYBOX_DIR)/.configured
+$(BUSYBOX_DIR)/busybox: $(BUSYBOX_DIR)/.config
        $(MAKE) CC=$(TARGET_CC) CROSS_COMPILE="$(TARGET_CROSS)" \
                CROSS="$(TARGET_CROSS)" PREFIX="$(TARGET_DIR)" \
                ARCH=$(KERNEL_ARCH) \
@@ -129,9 +129,9 @@ busybox-source: $(DL_DIR)/$(BUSYBOX_SOURCE)
 
 busybox-unpacked: host-sed $(PROJECT_BUILD_DIR) $(BUSYBOX_DIR)/.unpacked
 
-busybox-config: host-sed $(PROJECT_BUILD_DIR) $(BUSYBOX_DIR)/.configured
+busybox-config: host-sed $(PROJECT_BUILD_DIR) $(BUSYBOX_DIR)/.config
 
-busybox-menuconfig: host-sed $(PROJECT_BUILD_DIR) busybox-source $(BUSYBOX_DIR)/.configured
+busybox-menuconfig: host-sed $(PROJECT_BUILD_DIR) busybox-source $(BUSYBOX_DIR)/.config
        $(MAKE) __TARGET_ARCH=$(ARCH) -C $(BUSYBOX_DIR) menuconfig
 
 busybox-update: