diff options
author | Hongxu Jia <hongxu.jia@windriver.com> | 2014-07-09 10:25:50 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-07-10 17:38:35 +0100 |
commit | 91c7cbaa02f055362bbcde96ff0bdefced3de989 (patch) | |
tree | 17f20bf81c2eef66ab6b45580a41c8c6d86a267b /meta/recipes-graphics/xorg-proto | |
parent | 8d7f9e6051d8dbf147e7aeb2ac50ab298ae74ee9 (diff) | |
download | poky-91c7cbaa02f055362bbcde96ff0bdefced3de989.tar.gz |
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>
Diffstat (limited to 'meta/recipes-graphics/xorg-proto')
-rw-r--r-- | meta/recipes-graphics/xorg-proto/xorg-proto-common.inc | 7 |
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 625a718560..852155e028 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}" | |||
14 | DEPENDS = "util-macros" | 14 | DEPENDS = "util-macros" |
15 | 15 | ||
16 | inherit autotools pkgconfig | 16 | inherit autotools pkgconfig |
17 | EXTRA_OECONF = "--without-fop --without-xmlto" | 17 | EXTRA_OECONF = "--without-fop" |
18 | 18 | ||
19 | UNKNOWN_CONFIGURE_WHITELIST += "--without-fop --without-xmlto" | 19 | UNKNOWN_CONFIGURE_WHITELIST += "--without-fop --without-xmlto --with-xmlto" |
20 | |||
21 | PACKAGECONFIG ??= "" | ||
22 | PACKAGECONFIG[xmlto] = "--with-xmlto, --without-xmlto, xmlto-native" | ||
20 | 23 | ||
21 | # ${PN} is empty so we need to tweak -dev and -dbg package dependencies | 24 | # ${PN} is empty so we need to tweak -dev and -dbg package dependencies |
22 | RDEPENDS_${PN}-dev = "" | 25 | RDEPENDS_${PN}-dev = "" |