]> code.ossystems Code Review - openembedded-core.git/commitdiff
xorg-lib-common.inc: add PACKAGECONFIG for xmlto
authorHongxu Jia <hongxu.jia@windriver.com>
Wed, 9 Jul 2014 02:32:05 +0000 (10:32 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 10 Jul 2014 16:37:41 +0000 (17:37 +0100)
Support xmlto for documentation generation and disable it by default.

[YOCTO #2416]

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
meta/recipes-graphics/xorg-lib/xorg-lib-common.inc

index 72316647736b8d03f607d26a58180228de4a1a3f..3db67ced13e4094b2f34cefff12296fccdd4e982 100644 (file)
@@ -13,9 +13,14 @@ S = "${WORKDIR}/${XORG_PN}-${PV}"
 
 inherit autotools distro_features_check pkgconfig
 
-EXTRA_OECONF = "--disable-specs --without-groff --without-ps2pdf --without-fop --without-xmlto"
+EXTRA_OECONF = "--disable-specs --without-groff --without-ps2pdf --without-fop"
+
+PACKAGECONFIG ??= ""
+PACKAGECONFIG[xmlto] = "--with-xmlto, --without-xmlto, xmlto-native"
 
 UNKNOWN_CONFIGURE_WHITELIST += "--enable-malloc0returnsnull --disable-malloc0returnsnull \
-                                --disable-specs --without-groff --without-ps2pdf --without-fop --without-xmlto"
+                                --disable-specs --without-groff --without-ps2pdf --without-fop \
+                                --without-xmlto --with-xmlto \
+"
 
 REQUIRED_DISTRO_FEATURES ?= "x11"