summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Oberritter <obi@opendreambox.org>2012-02-24 19:40:31 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-02-26 11:42:33 +0000
commit6aa3a09876cebb3c2ef3a2d91bbdd10e1b5c6190 (patch)
treed27431e0a21f31417ccd72d9e088893d4ed3fc43
parent1adeb37d79575d1056a4ef744b03a2762728c973 (diff)
downloadpoky-6aa3a09876cebb3c2ef3a2d91bbdd10e1b5c6190.tar.gz
xorg-lib: don't build libs unless requested by DISTRO_FEATURES (fix up)
* Improve error message as suggested by Koen. (This got lost when v1 was committed instead of v2) (From OE-Core rev: 384912b4719a77b2e5f6673066e75258df130f5d) Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-graphics/xorg-lib/xorg-lib-common.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-graphics/xorg-lib/xorg-lib-common.inc b/meta/recipes-graphics/xorg-lib/xorg-lib-common.inc
index 3d5d378c87..73a4d1d3e4 100644
--- a/meta/recipes-graphics/xorg-lib/xorg-lib-common.inc
+++ b/meta/recipes-graphics/xorg-lib/xorg-lib-common.inc
@@ -18,5 +18,5 @@ EXTRA_OECONF = "--enable-malloc0returnsnull --with-fop=no --without-xmlto"
18python () { 18python () {
19 whitelist = [ "pixman" ] 19 whitelist = [ "pixman" ]
20 if not d.getVar('BPN', True) in whitelist and not oe.utils.contains ('DISTRO_FEATURES', 'x11', True, False, d): 20 if not d.getVar('BPN', True) in whitelist and not oe.utils.contains ('DISTRO_FEATURES', 'x11', True, False, d):
21 raise bb.parse.SkipPackage("X11 not enabled for this DISTRO") 21 raise bb.parse.SkipPackage("'x11' not in DISTRO_FEATURES")
22} 22}