Add new warning to help track down pesky compile issues

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

@ -27,10 +27,12 @@ define Build/DefaultTargets
endif endif
ifneq ($(MAKECMDGOALS),prereq) ifneq ($(MAKECMDGOALS),prereq)
ifneq ($$(_INFO),)
$$(info Rebuilding $$(_INFO)) $$(info Rebuilding $$(_INFO))
endif endif
endif endif
endif endif
endif
$(PKG_BUILD_DIR)/.prepared: $(PKG_BUILD_DIR)/.prepared:
@-rm -rf $(PKG_BUILD_DIR) @-rm -rf $(PKG_BUILD_DIR)
@ -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