diff options
author | mbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2006-07-10 21:17:45 +0000 |
---|---|---|
committer | mbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2006-07-10 21:17:45 +0000 |
commit | e9437d222f86a8960af081199fbef41312c7770b (patch) | |
tree | 501cd64841aad0f55665020619f84c2b9c28ae44 | |
parent | 2b9c94e12d0b9aaffc59914fe951fccb269cbb1c (diff) |
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
-rw-r--r-- | include/package.mk | 4 | ||||
-rw-r--r-- | package/base-files/Makefile | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/include/package.mk b/include/package.mk index bf2376dcd0..618c3c5553 100644 --- a/include/package.mk +++ b/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/package/base-files/Makefile b/package/base-files/Makefile index 376bd53348..daa15d0a7d 100644 --- a/package/base-files/Makefile +++ b/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 |