Patchwork [2/5] xorg-lib-common: set UNKNOWN_CONFIGURE_WHITELIST

login
register
mail settings
Submitter Ross Burton
Date Oct. 28, 2013, 2:33 p.m.
Message ID <1382970798-13574-2-git-send-email-ross.burton@intel.com>
Download mbox | patch
Permalink /patch/60561/
State Accepted
Commit bad13be935df977ec7a14231f230c0eb5f8e30c0
Headers show

Comments

Ross Burton - Oct. 28, 2013, 2:33 p.m.
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.

Signed-off-by: Ross Burton <ross.burton@intel.com>
---
 meta/recipes-graphics/xorg-lib/xorg-lib-common.inc |    3 +++
 1 file changed, 3 insertions(+)

Patch

diff --git a/meta/recipes-graphics/xorg-lib/xorg-lib-common.inc b/meta/recipes-graphics/xorg-lib/xorg-lib-common.inc
index 98e1416..07b0373 100644
--- a/meta/recipes-graphics/xorg-lib/xorg-lib-common.inc
+++ b/meta/recipes-graphics/xorg-lib/xorg-lib-common.inc
@@ -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):