From 949ab1487f5a54935469011f068bb6de9ff9cee8 Mon Sep 17 00:00:00 2001
From: Felix Fietkau <nbd@openwrt.org>
Date: Wed, 22 Oct 2014 08:57:50 +0000
Subject: [PATCH] build: only print skipped packages that were selected

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

SVN-Revision: 43023
---
 include/package-ipkg.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/package-ipkg.mk b/include/package-ipkg.mk
index b8c8cd6f99..13bb7c7d42 100644
--- a/include/package-ipkg.mk
+++ b/include/package-ipkg.mk
@@ -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
-- 
2.30.2