From: Felix Fietkau Date: Fri, 2 Jun 2006 16:17:56 +0000 (+0000) Subject: remove unused wget menuconfig option; make the package autorebuild optional (but... X-Git-Tag: reboot~30718^2~622 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=a6983e9cb105f6e1ca3a84698c064f9d971e70a4;p=openwrt%2Fstaging%2Fxback.git remove unused wget menuconfig option; make the package autorebuild optional (but enabled by default) SVN-Revision: 3896 --- diff --git a/openwrt/Config.in b/openwrt/Config.in index 4a887cc135..740205e3ec 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 1fd6f2a8ab..c05333b021 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)