summaryrefslogtreecommitdiff
path: root/openwrt/include/package.mk
diff options
context:
space:
mode:
authorMike Baker <mbm@openwrt.org>2006-07-10 21:17:45 +0000
committerMike Baker <mbm@openwrt.org>2006-07-10 21:17:45 +0000
commite81ba9aa44cd444fbbecb37ac38b01da6298fa98 (patch)
tree99cab60ff14aa7822de80a3c9acce75b201bd453 /openwrt/include/package.mk
parent1e53a6bb694b569d104044cf6a54d94005d335ae (diff)
downloadmtk-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/include/package.mk')
-rw-r--r--openwrt/include/package.mk4
1 files changed, 4 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 += \