summaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-06-02 16:17:56 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-06-02 16:17:56 +0000
commitd3b73f5c07d60bc9cd0f61e43c4be30ea98f65cb (patch)
tree31afe8405629d4c7baab09a05fa6fbeb00343b30 /package
parent142699180ce17b25851192e27bc89658746c9c5e (diff)
remove unused wget menuconfig option; make the package autorebuild optional (but enabled by default)
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3896 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rw-r--r--package/rules.mk10
1 files changed, 7 insertions, 3 deletions
diff --git a/package/rules.mk b/package/rules.mk
index 1fd6f2a8a..c05333b02 100644
--- a/package/rules.mk
+++ b/package/rules.mk
@@ -7,12 +7,16 @@ endif
define Build/DefaultTargets
ifeq ($(DUMP),)
ifneq ($$(shell $(SCRIPT_DIR)/timestamp.pl -p $(PKG_BUILD_DIR) . $(TOPDIR)/package/rules.mk),$(PKG_BUILD_DIR))
- $(PKG_BUILD_DIR)/.prepared: package-clean
+ ifeq ($(CONFIG_AUTOREBUILD),y)
+ $(PKG_BUILD_DIR)/.prepared: package-clean
+ endif
endif
ifneq ($$(shell $(SCRIPT_DIR)/timestamp.pl -p -x ipkg $(IPKG_$(1)) $(PKG_BUILD_DIR)),$(IPKG_$(1)))
- $(PKG_BUILD_DIR)/.built: package-rebuild
- endif
+ ifeq ($(CONFIG_AUTOREBUILD),y)
+ $(PKG_BUILD_DIR)/.built: package-rebuild
+ endif
+ endif
endif
$(PKG_BUILD_DIR)/.prepared: $(DL_DIR)/$(PKG_SOURCE)