core/pkg-virtual: do not check they are neabled

Virtual packages do not have a Kconfig symbol, so we must not check that
they are enabled.

Fixes:
    http://autobuild.buildroot.org/results/287/28713478cc6edf8e5d5c3e830fee86a42f0afa8d/
    ... and numerous similar failures ...

[Thomas:
 - use "$($(PKG)_IS_VIRTUAL)" != "YES" instead of !
   "$($(PKG)_IS_VIRTUAL)" = "YES"]

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Yann E. MORIN
2015-12-30 00:10:40 +01:00
committed by Thomas Petazzoni
parent e84fd04e88
commit f674c428c2
2 changed files with 6 additions and 1 deletions

View File

@@ -41,6 +41,8 @@ $$(error No implementation selected for virtual package $(1). Configuration erro
endif
endif
$(2)_IS_VIRTUAL = YES
# A virtual package does not have any source associated
$(2)_SOURCE =