add a new FORCEREBUILD option to Package/<name> to force a package to be rebuilt...
authormbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 10 Jul 2006 21:17:45 +0000 (21:17 +0000)
committermbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 10 Jul 2006 21:17:45 +0000 (21:17 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4123 3c298f89-4303-0410-b956-a3cf2f4a3e73

include/package.mk
package/base-files/Makefile

index bf2376d..618c3c5 100644 (file)
@@ -121,6 +121,10 @@ define BuildPackage
     compile-targets: $$(IPKG_$(1))
   endif
 
     compile-targets: $$(IPKG_$(1))
   endif
 
+  ifeq ($(FORCEREBUILD),y)
+    $$(IPKG_$(1)): FORCE
+  endif
+
   IDEPEND_$(1):=$$(strip $$(DEPENDS))
 
   DUMPINFO += \
   IDEPEND_$(1):=$$(strip $$(DEPENDS))
 
   DUMPINFO += \
index 376bd53..daa15d0 100644 (file)
@@ -38,6 +38,7 @@ define Package/base-files$(TARGET)
   TITLE:=OpenWrt system scripts
   DESCRIPTION:=Base filesystem for OpenWrt
   VERSION:=$(PKG_RELEASE)
   TITLE:=OpenWrt system scripts
   DESCRIPTION:=Base filesystem for OpenWrt
   VERSION:=$(PKG_RELEASE)
+  FORCEREBUILD:=y
 endef
 
 define -ar7-2.4/conffiles
 endef
 
 define -ar7-2.4/conffiles
@@ -89,6 +90,7 @@ define Package/libgcc
   TITLE:=GCC support library
   VERSION:=$(LIBGCC_VERSION)-$(PKG_RELEASE)
   DESCRIPTION:=$(TITLE)
   TITLE:=GCC support library
   VERSION:=$(LIBGCC_VERSION)-$(PKG_RELEASE)
   DESCRIPTION:=$(TITLE)
+  FORCEREBUILD:=n
 endef
 
 define Package/libpthread
 endef
 
 define Package/libpthread
@@ -97,6 +99,7 @@ define Package/libpthread
   VERSION:=$(UCLIBC_VERSION)-$(PKG_RELEASE)
   TITLE:=POSIX thread library
   DESCRIPTION:=POSIX thread library
   VERSION:=$(UCLIBC_VERSION)-$(PKG_RELEASE)
   TITLE:=POSIX thread library
   DESCRIPTION:=POSIX thread library
+  FORCEREBUILD:=n
 endef
 
 
 endef
 
 
@@ -105,6 +108,7 @@ define Package/uclibc
   VERSION:=$(UCLIBC_VERSION)-$(PKG_RELEASE)
   TITLE:=C library
   DESCRIPTION:=C library for embedded systems
   VERSION:=$(UCLIBC_VERSION)-$(PKG_RELEASE)
   TITLE:=C library
   DESCRIPTION:=C library for embedded systems
+  FORCEREBUILD:=n
 endef
 
 define Build/Prepare
 endef
 
 define Build/Prepare
This page took 0.028354 seconds and 4 git commands to generate.