diff options
Diffstat (limited to 'meta/recipes-graphics/xorg-lib/xorg-lib-common.inc')
-rw-r--r-- | meta/recipes-graphics/xorg-lib/xorg-lib-common.inc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/meta/recipes-graphics/xorg-lib/xorg-lib-common.inc b/meta/recipes-graphics/xorg-lib/xorg-lib-common.inc index d106054ef1..3d5d378c87 100644 --- a/meta/recipes-graphics/xorg-lib/xorg-lib-common.inc +++ b/meta/recipes-graphics/xorg-lib/xorg-lib-common.inc | |||
@@ -14,3 +14,9 @@ S = "${WORKDIR}/${XORG_PN}-${PV}" | |||
14 | inherit autotools pkgconfig | 14 | inherit autotools pkgconfig |
15 | 15 | ||
16 | EXTRA_OECONF = "--enable-malloc0returnsnull --with-fop=no --without-xmlto" | 16 | EXTRA_OECONF = "--enable-malloc0returnsnull --with-fop=no --without-xmlto" |
17 | |||
18 | python () { | ||
19 | whitelist = [ "pixman" ] | ||
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") | ||
22 | } | ||