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

Support xmlto for documentation generation and disable it by default.

[YOCTO #2416]

(From OE-Core rev: 95c194f3e7903d70d6bbc8df293937f34f02d06b)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Hongxu Jia 2014-07-09 10:25:50 +08:00 committed by Richard Purdie
parent 8d7f9e6051
commit 91c7cbaa02
1 changed files with 5 additions and 2 deletions

View File

@ -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 = ""