mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-27 17:43:09 +02:00
add a new FORCEREBUILD option to Package/<name> to force a package to be rebuilt each time make is run
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4123 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
2b9c94e12d
commit
e9437d222f
@ -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 New Issue
Block a user