[oe-commits] Hongxu Jia : xorg-proto-common.inc: add PACKAGECONFIG for xmlto

git at git.openembedded.org git at git.openembedded.org
Thu Jul 10 16:40:15 UTC 2014


Module: openembedded-core.git
Branch: master
Commit: 95c194f3e7903d70d6bbc8df293937f34f02d06b
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=95c194f3e7903d70d6bbc8df293937f34f02d06b

Author: Hongxu Jia <hongxu.jia at windriver.com>
Date:   Wed Jul  9 10:25:50 2014 +0800

xorg-proto-common.inc: add PACKAGECONFIG for xmlto

Support xmlto for documentation generation and disable it by default.

[YOCTO #2416]

Signed-off-by: Hongxu Jia <hongxu.jia at windriver.com>
Signed-off-by: Saul Wold <sgw at linux.intel.com>

---

 meta/recipes-graphics/xorg-proto/xorg-proto-common.inc | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-graphics/xorg-proto/xorg-proto-common.inc b/meta/recipes-graphics/xorg-proto/xorg-proto-common.inc
index 625a718..852155e 100644
--- a/meta/recipes-graphics/xorg-proto/xorg-proto-common.inc
+++ b/meta/recipes-graphics/xorg-proto/xorg-proto-common.inc
@@ -14,9 +14,12 @@ S = "${WORKDIR}/${XORG_PN}-${PV}"
 DEPENDS = "util-macros"
 
 inherit autotools pkgconfig
-EXTRA_OECONF = "--without-fop --without-xmlto"
+EXTRA_OECONF = "--without-fop"
 
-UNKNOWN_CONFIGURE_WHITELIST += "--without-fop --without-xmlto"
+UNKNOWN_CONFIGURE_WHITELIST += "--without-fop --without-xmlto --with-xmlto"
+
+PACKAGECONFIG ??= ""
+PACKAGECONFIG[xmlto] = "--with-xmlto, --without-xmlto, xmlto-native"
 
 # ${PN} is empty so we need to tweak -dev and -dbg package dependencies
 RDEPENDS_${PN}-dev = ""



More information about the Openembedded-commits mailing list