add a new FORCEREBUILD option to Package/<name> to force a package to be rebuilt each time make is run

SVN-Revision: 4123
This commit is contained in:
Mike Baker 2006-07-10 21:17:45 +00:00
parent 1e53a6bb69
commit e81ba9aa44
2 changed files with 8 additions and 0 deletions

View file

@ -121,6 +121,10 @@ define BuildPackage
compile-targets: $$(IPKG_$(1))
endif
ifeq ($(FORCEREBUILD),y)
$$(IPKG_$(1)): FORCE
endif
IDEPEND_$(1):=$$(strip $$(DEPENDS))
DUMPINFO += \

View file

@ -38,6 +38,7 @@ define Package/base-files$(TARGET)
TITLE:=OpenWrt system scripts
DESCRIPTION:=Base filesystem for OpenWrt
VERSION:=$(PKG_RELEASE)
FORCEREBUILD:=y
endef
define -ar7-2.4/conffiles
@ -89,6 +90,7 @@ define Package/libgcc
TITLE:=GCC support library
VERSION:=$(LIBGCC_VERSION)-$(PKG_RELEASE)
DESCRIPTION:=$(TITLE)
FORCEREBUILD:=n
endef
define Package/libpthread
@ -97,6 +99,7 @@ define Package/libpthread
VERSION:=$(UCLIBC_VERSION)-$(PKG_RELEASE)
TITLE:=POSIX thread library
DESCRIPTION:=POSIX thread library
FORCEREBUILD:=n
endef
@ -105,6 +108,7 @@ define Package/uclibc
VERSION:=$(UCLIBC_VERSION)-$(PKG_RELEASE)
TITLE:=C library
DESCRIPTION:=C library for embedded systems
FORCEREBUILD:=n
endef
define Build/Prepare