diff options
author | Peter Korsgaard <jacmet@sunsite.dk> | 2009-01-29 11:29:49 +0000 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2009-01-29 11:29:49 +0000 |
commit | 6e7f92310a637f6b648323f1eb3b04e051f66a67 (patch) | |
tree | e0d39989edbc5c339f6d0b3595ecf5e7f9e54f95 /package/busybox | |
parent | 85d756d5cc31610e54608134205ee351d3b9e180 (diff) | |
download | buildroot-novena-6e7f92310a637f6b648323f1eb3b04e051f66a67.tar.gz buildroot-novena-6e7f92310a637f6b648323f1eb3b04e051f66a67.zip |
busybox: rebuild if .config changed
As reported on irc - Fixes busybox-menuconfig
Diffstat (limited to 'package/busybox')
-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 4fb5bb96c..8e7251046 100644 --- a/package/busybox/busybox.mk +++ b/package/busybox/busybox.mk @@ -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: |