[OE-core] [PATCH 7/8] xorg-lib-common.inc: add PACKAGECONFIG for xmlto
Hongxu Jia
hongxu.jia at windriver.com
Wed Jul 9 10:17:00 UTC 2014
Support xmlto for documentation generation and disable it by default.
[YOCTO #2416]
Signed-off-by: Hongxu Jia <hongxu.jia at windriver.com>
---
meta/recipes-graphics/xorg-lib/xorg-lib-common.inc | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/meta/recipes-graphics/xorg-lib/xorg-lib-common.inc b/meta/recipes-graphics/xorg-lib/xorg-lib-common.inc
index 7231664..3db67ce 100644
--- a/meta/recipes-graphics/xorg-lib/xorg-lib-common.inc
+++ b/meta/recipes-graphics/xorg-lib/xorg-lib-common.inc
@@ -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"
--
1.8.1.2
More information about the Openembedded-core
mailing list