aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHongxu Jia <hongxu.jia@windriver.com>2014-07-09 10:25:50 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-07-10 17:37:41 +0100
commit95c194f3e7903d70d6bbc8df293937f34f02d06b (patch)
tree03004647e8912d0d54518015e1f162b60b9a9685
parent14f4a3e9458b967e74a4a39f6ce9a4672a6302cf (diff)
downloadopenembedded-core-contrib-95c194f3e7903d70d6bbc8df293937f34f02d06b.tar.gz
openembedded-core-contrib-95c194f3e7903d70d6bbc8df293937f34f02d06b.tar.bz2
openembedded-core-contrib-95c194f3e7903d70d6bbc8df293937f34f02d06b.zip
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@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
-rw-r--r--meta/recipes-graphics/xorg-proto/xorg-proto-common.inc7
1 files 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 625a7185604..852155e0283 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 = ""