From 172e5eb67e8ffb5c548f1d4652d2cd18b9cc633c Mon Sep 17 00:00:00 2001 From: Mike Baker Date: Wed, 30 Aug 2006 09:57:57 +0000 Subject: [PATCH] Add new warning to help track down pesky compile issues SVN-Revision: 4713 --- openwrt/include/package.mk | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/openwrt/include/package.mk b/openwrt/include/package.mk index 3328332725a..311ec35a9c1 100644 --- a/openwrt/include/package.mk +++ b/openwrt/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 -- 2.30.2