summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/package.mk4
-rw-r--r--package/base-files/Makefile4
2 files changed, 8 insertions, 0 deletions
diff --git a/include/package.mk b/include/package.mk
index bf2376dcd..618c3c555 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 376bd5334..daa15d0a7 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