build: only print skipped packages that were selected

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

SVN-Revision: 43023
This commit is contained in:
Felix Fietkau 2014-10-22 08:57:50 +00:00
parent d8278dee4d
commit 949ab1487f

View file

@ -109,7 +109,7 @@ ifeq ($(DUMP),)
echo "$(1)" >> $(PKG_INSTALL_STAMP)
endif
else
$$(info WARNING: skipping $(1) -- package not selected)
$(if $(CONFIG_PACKAGE_$(1)),$$(info WARNING: skipping $(1) -- package not selected))
endif
endif
endif