build: optimize printing of disabled packages

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43015 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
Felix Fietkau
2014-10-22 08:57:07 +00:00
parent 9cd082856c
commit 066c26efc6

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