Add new warning to help track down pesky compile issues

SVN-Revision: 4713
master
Mike Baker 18 years ago
parent d61fa4ec2a
commit 172e5eb67e
  1. 8
      openwrt/include/package.mk

@ -27,7 +27,9 @@ define Build/DefaultTargets
endif endif
ifneq ($(MAKECMDGOALS),prereq) ifneq ($(MAKECMDGOALS),prereq)
$$(info Rebuilding $$(_INFO)) ifneq ($$(_INFO),)
$$(info Rebuilding $$(_INFO))
endif
endif endif
endif endif
endif endif
@ -129,6 +131,10 @@ define BuildPackage
ifneq ($(CONFIG_PACKAGE_$(1)),) ifneq ($(CONFIG_PACKAGE_$(1)),)
compile-targets: $$(IPKG_$(1)) compile-targets: $$(IPKG_$(1))
else
compile-targets: $(1)-disabled
$(1)-disabled:
@echo "WARNING: skipping $(1) -- package not selected"
endif endif
endif endif

Loading…
Cancel
Save