summaryrefslogtreecommitdiff
path: root/openwrt/include
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2006-09-07 16:48:03 +0000
committerFelix Fietkau <nbd@openwrt.org>2006-09-07 16:48:03 +0000
commit365936799253ea63702369c36b4a27eb93767916 (patch)
treee874b12acd14141eae3e72cfd4dceff44825cfb4 /openwrt/include
parent4ea7de50302b3f33a9ad2bcbda984161d0f3023b (diff)
downloadmtk-20170518-365936799253ea63702369c36b4a27eb93767916.zip
mtk-20170518-365936799253ea63702369c36b4a27eb93767916.tar.gz
mtk-20170518-365936799253ea63702369c36b4a27eb93767916.tar.bz2
don't run rebuild checks for dump and prereq
SVN-Revision: 4771
Diffstat (limited to 'openwrt/include')
-rw-r--r--openwrt/include/package.mk16
1 files changed, 9 insertions, 7 deletions
diff --git a/openwrt/include/package.mk b/openwrt/include/package.mk
index 42ffcfb..bea0428 100644
--- a/openwrt/include/package.mk
+++ b/openwrt/include/package.mk
@@ -237,14 +237,16 @@ define BuildPackage
$$(eval $$(call Build/DefaultTargets,$(1)))
ifneq ($$(CONFIG_PACKAGE_$(1)),)
- ifneq ($$(shell $(SCRIPT_DIR)/timestamp.pl -p -x ipkg -x ipkg-install $$(IPKG_$(1)) $(PKG_BUILD_DIR)),$$(IPKG_$(1)))
- _INFO+=$(subst $(TOPDIR)/,,$$(IPKG_$(1)))
- $(PKG_BUILD_DIR)/.built: package-rebuild
- endif
-
ifneq ($(MAKECMDGOALS),prereq)
- ifneq ($$(_INFO),)
- $$(info Rebuilding $$(_INFO))
+ ifneq ($(DUMP),1)
+ ifneq ($$(shell $(SCRIPT_DIR)/timestamp.pl -p -x ipkg -x ipkg-install $$(IPKG_$(1)) $(PKG_BUILD_DIR)),$$(IPKG_$(1)))
+ _INFO+=$(subst $(TOPDIR)/,,$$(IPKG_$(1)))
+ $(PKG_BUILD_DIR)/.built: package-rebuild
+ endif
+
+ ifneq ($$(_INFO),)
+ $$(info Rebuilding $$(_INFO))
+ endif
endif
endif
endif