xorg-lib-common: set UNKNOWN_CONFIGURE_WHITELIST

This include adds configure options globally but not all X libraries support
them, so to avoid unknown-configure-option warnings add them to the whitelist.

(From OE-Core rev: 1f77801e6837b23d9123097dba77ca1374fbbea4)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Ross Burton
2013-10-28 14:33:15 +00:00
committed by Richard Purdie
parent 6ce287937e
commit bad13be935

View File

@@ -17,6 +17,9 @@ EXTRA_OECONF = "--disable-specs --without-groff --without-ps2pdf --without-fop -
EXTRA_OECONF_append_libc-glibc = " --disable-malloc0returnsnull"
EXTRA_OECONF_append_libc-uclibc = " --enable-malloc0returnsnull"
UNKNOWN_CONFIGURE_WHITELIST += "--enable-malloc0returnsnull --disable-malloc0returnsnull \
--disable-specs --without-groff --without-ps2pdf --without-fop --without-xmlto"
python () {
whitelist = [ "pixman", "libpciaccess" ]
if not d.getVar('BPN', True) in whitelist and not oe.utils.contains ('DISTRO_FEATURES', 'x11', True, False, d):