diff options
author | Felix Fietkau <nbd@openwrt.org> | 2007-03-23 19:13:08 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2007-03-23 19:13:08 +0000 |
commit | 000393712e9f30897feb5d592cc6901777494ab4 (patch) | |
tree | 93e5c52e874952ea675224e92e0911f8105a9324 /package/busybox | |
parent | 437ffd097074a8d756bcfaad18ca7df8388b1701 (diff) | |
download | upstream-000393712e9f30897feb5d592cc6901777494ab4.tar.gz upstream-000393712e9f30897feb5d592cc6901777494ab4.tar.bz2 upstream-000393712e9f30897feb5d592cc6901777494ab4.zip |
make busybox autorebuild on relevant config changes
SVN-Revision: 6651
Diffstat (limited to 'package/busybox')
-rw-r--r-- | package/busybox/Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/package/busybox/Makefile b/package/busybox/Makefile index 3049601524..90e3af060a 100644 --- a/package/busybox/Makefile +++ b/package/busybox/Makefile @@ -19,6 +19,10 @@ PKG_MD5SUM:=5728403bce309cdabcffa414e2e64052 include $(INCLUDE_DIR)/package.mk +ifeq ($(DUMP),) + STAMP_CONFIGURED:=$(strip $(STAMP_CONFIGURED))_$(shell grep '^CONFIG_BUSYBOX_' $(TOPDIR)/.config | md5s) +endif + init-y := init-$(CONFIG_BUSYBOX_CONFIG_HTTPD) += httpd init-$(CONFIG_BUSYBOX_CONFIG_CROND) += cron @@ -46,6 +50,7 @@ define Package/busybox/config endef define Build/Configure + rm -f $(PKG_BUILD_DIR)/.configured* $(SCRIPT_DIR)/gen_busybox_config.pl $(TOPDIR)/.config > $(PKG_BUILD_DIR)/.config yes '' | $(MAKE) -C $(PKG_BUILD_DIR) \ CC="$(TARGET_CC)" \ |