summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/xorg-lib/libx11.inc
diff options
context:
space:
mode:
authorAndreas Oberritter <obi@opendreambox.org>2012-02-10 02:27:54 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-02-23 23:59:34 +0000
commit831e0b5cd7f12f9ff441dbad1c287e232ef480b7 (patch)
treee86d06035547df673a236a0c0aa745c8c92d3823 /meta/recipes-graphics/xorg-lib/libx11.inc
parent5a4b06ddec9af12d3281084b87cd6eb1c7fbbe6c (diff)
downloadpoky-831e0b5cd7f12f9ff441dbad1c287e232ef480b7.tar.gz
xorg-lib: don't build libs unless requested by DISTRO_FEATURES
* If 'x11' is not set in DISTRO_FEATURES, then skip all recipes using xorg-lib-common.inc instead of only those using libx11.inc. * One exception: pixman, which is not only used by xorg, but also by cairo. (From OE-Core rev: a101bc85adcc915f151348107e850b8998a395b0) Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/xorg-lib/libx11.inc')
-rw-r--r--meta/recipes-graphics/xorg-lib/libx11.inc5
1 files changed, 0 insertions, 5 deletions
diff --git a/meta/recipes-graphics/xorg-lib/libx11.inc b/meta/recipes-graphics/xorg-lib/libx11.inc
index 748a48cef3..9057edc746 100644
--- a/meta/recipes-graphics/xorg-lib/libx11.inc
+++ b/meta/recipes-graphics/xorg-lib/libx11.inc
@@ -49,8 +49,3 @@ do_compile_prepend() {
49# Multiple libx11 derivatives from from this file and are selected by virtual/libx11 49# Multiple libx11 derivatives from from this file and are selected by virtual/libx11
50# A world build should only build the correct version, not all of them. 50# A world build should only build the correct version, not all of them.
51EXCLUDE_FROM_WORLD = "1" 51EXCLUDE_FROM_WORLD = "1"
52
53python () {
54 if not oe.utils.contains ('DISTRO_FEATURES', 'x11', True, False, d):
55 raise bb.parse.SkipPackage("X11 not enabled for this DISTRO")
56}