diff options
author | Mike Baker <mbm@openwrt.org> | 2006-07-10 21:17:45 +0000 |
---|---|---|
committer | Mike Baker <mbm@openwrt.org> | 2006-07-10 21:17:45 +0000 |
commit | e81ba9aa44cd444fbbecb37ac38b01da6298fa98 (patch) | |
tree | 99cab60ff14aa7822de80a3c9acce75b201bd453 /openwrt | |
parent | 1e53a6bb694b569d104044cf6a54d94005d335ae (diff) | |
download | mtk-20170518-e81ba9aa44cd444fbbecb37ac38b01da6298fa98.zip mtk-20170518-e81ba9aa44cd444fbbecb37ac38b01da6298fa98.tar.gz mtk-20170518-e81ba9aa44cd444fbbecb37ac38b01da6298fa98.tar.bz2 |
add a new FORCEREBUILD option to Package/<name> to force a package to be rebuilt each time make is run
SVN-Revision: 4123
Diffstat (limited to 'openwrt')
-rw-r--r-- | openwrt/include/package.mk | 4 | ||||
-rw-r--r-- | openwrt/package/base-files/Makefile | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/openwrt/include/package.mk b/openwrt/include/package.mk index bf2376d..618c3c5 100644 --- a/openwrt/include/package.mk +++ b/openwrt/include/package.mk @@ -121,6 +121,10 @@ define BuildPackage compile-targets: $$(IPKG_$(1)) endif + ifeq ($(FORCEREBUILD),y) + $$(IPKG_$(1)): FORCE + endif + IDEPEND_$(1):=$$(strip $$(DEPENDS)) DUMPINFO += \ diff --git a/openwrt/package/base-files/Makefile b/openwrt/package/base-files/Makefile index 376bd53..daa15d0 100644 --- a/openwrt/package/base-files/Makefile +++ b/openwrt/package/base-files/Makefile @@ -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 |