1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-18 04:17:09 +02:00

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
This commit is contained in:
nbd 2006-06-02 16:17:56 +00:00
parent 142699180c
commit d3b73f5c07
2 changed files with 13 additions and 7 deletions

View File

@ -21,10 +21,12 @@ menuconfig DEVEL
menuconfig BUILDOPTS menuconfig BUILDOPTS
bool "Build Options" if DEVEL bool "Build Options" if DEVEL
config WGET config AUTOREBUILD
string bool
prompt "WGET command" if BUILDOPTS prompt "Automatic rebuild of packages" if BUILDOPTS
default "wget --passive-ftp -nd" default y
help
Automatically rebuild packages when their files change
config TAR_VERBOSITY config TAR_VERBOSITY
bool bool

View File

@ -7,12 +7,16 @@ endif
define Build/DefaultTargets define Build/DefaultTargets
ifeq ($(DUMP),) ifeq ($(DUMP),)
ifneq ($$(shell $(SCRIPT_DIR)/timestamp.pl -p $(PKG_BUILD_DIR) . $(TOPDIR)/package/rules.mk),$(PKG_BUILD_DIR)) 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 endif
ifneq ($$(shell $(SCRIPT_DIR)/timestamp.pl -p -x ipkg $(IPKG_$(1)) $(PKG_BUILD_DIR)),$(IPKG_$(1))) ifneq ($$(shell $(SCRIPT_DIR)/timestamp.pl -p -x ipkg $(IPKG_$(1)) $(PKG_BUILD_DIR)),$(IPKG_$(1)))
$(PKG_BUILD_DIR)/.built: package-rebuild ifeq ($(CONFIG_AUTOREBUILD),y)
endif $(PKG_BUILD_DIR)/.built: package-rebuild
endif
endif
endif endif
$(PKG_BUILD_DIR)/.prepared: $(DL_DIR)/$(PKG_SOURCE) $(PKG_BUILD_DIR)/.prepared: $(DL_DIR)/$(PKG_SOURCE)