diff options
author | Felix Fietkau <nbd@openwrt.org> | 2006-06-02 16:17:56 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2006-06-02 16:17:56 +0000 |
commit | c0f4447e09ded80957867aeb1781c8ae41e39b22 (patch) | |
tree | 31afe8405629d4c7baab09a05fa6fbeb00343b30 | |
parent | c0c9f34a2f4bfb0776f882394252187a6e524780 (diff) | |
download | upstream-c0f4447e09ded80957867aeb1781c8ae41e39b22.tar.gz upstream-c0f4447e09ded80957867aeb1781c8ae41e39b22.tar.bz2 upstream-c0f4447e09ded80957867aeb1781c8ae41e39b22.zip |
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
-rw-r--r-- | Config.in | 10 | ||||
-rw-r--r-- | package/rules.mk | 10 |
2 files changed, 13 insertions, 7 deletions
@@ -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/package/rules.mk b/package/rules.mk index 1fd6f2a8ab..c05333b021 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) |