mirror of
https://git.yoctoproject.org/poky
synced 2026-04-16 15:32:13 +02:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
1adeb37d79
commit
6aa3a09876
@@ -18,5 +18,5 @@ EXTRA_OECONF = "--enable-malloc0returnsnull --with-fop=no --without-xmlto"
|
||||
python () {
|
||||
whitelist = [ "pixman" ]
|
||||
if not d.getVar('BPN', True) in whitelist and not oe.utils.contains ('DISTRO_FEATURES', 'x11', True, False, d):
|
||||
raise bb.parse.SkipPackage("X11 not enabled for this DISTRO")
|
||||
raise bb.parse.SkipPackage("'x11' not in DISTRO_FEATURES")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user