From 91637acf54cc52ec9c03cbd195af08e9ae8e0739 Mon Sep 17 00:00:00 2001 From: mbm Date: Wed, 30 Aug 2006 09:57:57 +0000 Subject: 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 --- include/package.mk | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'include/package.mk') diff --git a/include/package.mk b/include/package.mk index 332833272..311ec35a9 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 -- cgit v1.2.3