From: Mike Baker Date: Mon, 10 Jul 2006 21:17:45 +0000 (+0000) Subject: add a new FORCEREBUILD option to Package/ to force a package to be rebuilt... X-Git-Tag: reboot~30718^2~426 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=e81ba9aa44cd444fbbecb37ac38b01da6298fa98;p=openwrt%2Fstaging%2Fblogic.git add a new FORCEREBUILD option to Package/ to force a package to be rebuilt each time make is run SVN-Revision: 4123 --- diff --git a/openwrt/include/package.mk b/openwrt/include/package.mk index bf2376dcd02c..618c3c5553b2 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 376bd5334813..daa15d0a7ddf 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