summaryrefslogtreecommitdiff
path: root/openwrt
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2006-06-02 16:17:56 +0000
committerFelix Fietkau <nbd@openwrt.org>2006-06-02 16:17:56 +0000
commita6983e9cb105f6e1ca3a84698c064f9d971e70a4 (patch)
tree2c96c2041f5027dd6a04259129d62c21a9d22b19 /openwrt
parent83acc2352b626aae81ee4764aff6369483ce1fb0 (diff)
downloadmtk-20170518-a6983e9cb105f6e1ca3a84698c064f9d971e70a4.zip
mtk-20170518-a6983e9cb105f6e1ca3a84698c064f9d971e70a4.tar.gz
mtk-20170518-a6983e9cb105f6e1ca3a84698c064f9d971e70a4.tar.bz2
remove unused wget menuconfig option; make the package autorebuild optional (but enabled by default)
SVN-Revision: 3896
Diffstat (limited to 'openwrt')
-rw-r--r--openwrt/Config.in10
-rw-r--r--openwrt/package/rules.mk10
2 files changed, 13 insertions, 7 deletions
diff --git a/openwrt/Config.in b/openwrt/Config.in
index 4a887cc..740205e 100644
--- a/openwrt/Config.in
+++ b/openwrt/Config.in
@@ -21,10 +21,12 @@ menuconfig DEVEL
menuconfig BUILDOPTS
bool "Build Options" if DEVEL
-config WGET
- string
- prompt "WGET command" if BUILDOPTS
- default "wget --passive-ftp -nd"
+config AUTOREBUILD
+ bool
+ prompt "Automatic rebuild of packages" if BUILDOPTS
+ default y
+ help
+ Automatically rebuild packages when their files change
config TAR_VERBOSITY
bool
diff --git a/openwrt/package/rules.mk b/openwrt/package/rules.mk
index 1fd6f2a..c05333b 100644
--- a/openwrt/package/rules.mk
+++ b/openwrt/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)