aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMike Baker <mbm@openwrt.org>2006-08-30 09:57:57 +0000
committerMike Baker <mbm@openwrt.org>2006-08-30 09:57:57 +0000
commit1daaf3174b6852606a817ce315213b76845b09c4 (patch)
treeda2ee32ab8defb94cf04844f257edb022604508a /include
parentb023682485ca557bf749c0420a957bbe191e9ef1 (diff)
downloadupstream-1daaf3174b6852606a817ce315213b76845b09c4.tar.gz
upstream-1daaf3174b6852606a817ce315213b76845b09c4.tar.bz2
upstream-1daaf3174b6852606a817ce315213b76845b09c4.zip
Add new warning to help track down pesky compile issues
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4713 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'include')
-rw-r--r--include/package.mk8
1 files changed, 7 insertions, 1 deletions
diff --git a/include/package.mk b/include/package.mk
index 3328332725..311ec35a9c 100644
--- a/include/package.mk
+++ b/include/package.mk
@@ -27,7 +27,9 @@ define Build/DefaultTargets
endif
ifneq ($(MAKECMDGOALS),prereq)
- $$(info Rebuilding $$(_INFO))
+ ifneq ($$(_INFO),)
+ $$(info Rebuilding $$(_INFO))
+ endif
endif
endif
endif
@@ -129,6 +131,10 @@ define BuildPackage
ifneq ($(CONFIG_PACKAGE_$(1)),)
compile-targets: $$(IPKG_$(1))
+ else
+ compile-targets: $(1)-disabled
+ $(1)-disabled:
+ @echo "WARNING: skipping $(1) -- package not selected"
endif
endif