remove unused wget menuconfig option; make the package autorebuild optional (but enabled by default)
SVN-Revision: 3896
This commit is contained in:
parent
83acc2352b
commit
a6983e9cb1
2 changed files with 13 additions and 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
|
||||
|
|
|
@ -7,13 +7,17 @@ endif
|
|||
define Build/DefaultTargets
|
||||
ifeq ($(DUMP),)
|
||||
ifneq ($$(shell $(SCRIPT_DIR)/timestamp.pl -p $(PKG_BUILD_DIR) . $(TOPDIR)/package/rules.mk),$(PKG_BUILD_DIR))
|
||||
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)))
|
||||
ifeq ($(CONFIG_AUTOREBUILD),y)
|
||||
$(PKG_BUILD_DIR)/.built: package-rebuild
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
|
||||
$(PKG_BUILD_DIR)/.prepared: $(DL_DIR)/$(PKG_SOURCE)
|
||||
@-rm -rf $(PKG_BUILD_DIR)
|
||||
|
|
Loading…
Reference in a new issue