build: optimize printing of disabled packages

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43015
This commit is contained in:
Felix Fietkau 2014-10-22 08:57:07 +00:00
parent 2579261b7b
commit edc8e2022a

View File

@ -102,9 +102,7 @@ ifeq ($(DUMP),)
echo "$(1)" >> $(PKG_INSTALL_STAMP)
endif
else
compile: $(1)-disabled
$(1)-disabled:
@echo "WARNING: skipping $(1) -- package not selected" >&2
$$(info WARNING: skipping $(1) -- package not selected)
endif
endif
endif