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:
parent
1e53a6bb69
commit
e81ba9aa44
2 changed files with 8 additions and 0 deletions
|
@ -121,6 +121,10 @@ define BuildPackage
|
||||||
compile-targets: $$(IPKG_$(1))
|
compile-targets: $$(IPKG_$(1))
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(FORCEREBUILD),y)
|
||||||
|
$$(IPKG_$(1)): FORCE
|
||||||
|
endif
|
||||||
|
|
||||||
IDEPEND_$(1):=$$(strip $$(DEPENDS))
|
IDEPEND_$(1):=$$(strip $$(DEPENDS))
|
||||||
|
|
||||||
DUMPINFO += \
|
DUMPINFO += \
|
||||||
|
|
|
@ -38,6 +38,7 @@ define Package/base-files$(TARGET)
|
||||||
TITLE:=OpenWrt system scripts
|
TITLE:=OpenWrt system scripts
|
||||||
DESCRIPTION:=Base filesystem for OpenWrt
|
DESCRIPTION:=Base filesystem for OpenWrt
|
||||||
VERSION:=$(PKG_RELEASE)
|
VERSION:=$(PKG_RELEASE)
|
||||||
|
FORCEREBUILD:=y
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define -ar7-2.4/conffiles
|
define -ar7-2.4/conffiles
|
||||||
|
@ -89,6 +90,7 @@ define Package/libgcc
|
||||||
TITLE:=GCC support library
|
TITLE:=GCC support library
|
||||||
VERSION:=$(LIBGCC_VERSION)-$(PKG_RELEASE)
|
VERSION:=$(LIBGCC_VERSION)-$(PKG_RELEASE)
|
||||||
DESCRIPTION:=$(TITLE)
|
DESCRIPTION:=$(TITLE)
|
||||||
|
FORCEREBUILD:=n
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/libpthread
|
define Package/libpthread
|
||||||
|
@ -97,6 +99,7 @@ define Package/libpthread
|
||||||
VERSION:=$(UCLIBC_VERSION)-$(PKG_RELEASE)
|
VERSION:=$(UCLIBC_VERSION)-$(PKG_RELEASE)
|
||||||
TITLE:=POSIX thread library
|
TITLE:=POSIX thread library
|
||||||
DESCRIPTION:=POSIX thread library
|
DESCRIPTION:=POSIX thread library
|
||||||
|
FORCEREBUILD:=n
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
|
||||||
|
@ -105,6 +108,7 @@ define Package/uclibc
|
||||||
VERSION:=$(UCLIBC_VERSION)-$(PKG_RELEASE)
|
VERSION:=$(UCLIBC_VERSION)-$(PKG_RELEASE)
|
||||||
TITLE:=C library
|
TITLE:=C library
|
||||||
DESCRIPTION:=C library for embedded systems
|
DESCRIPTION:=C library for embedded systems
|
||||||
|
FORCEREBUILD:=n
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Build/Prepare
|
define Build/Prepare
|
||||||
|
|
Loading…
Reference in a new issue