aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2018-03-13 13:01:39 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-03-15 03:38:48 -0700
commiteb08ce66cf7ca6dbdb51fb9b9725267606fba6b9 (patch)
tree8e74c26e24478df6603623af95561f9f2feefb8e
parent66b0f977cc1809616b78939f8096330e7c8a94de (diff)
downloadopenembedded-core-contrib-eb08ce66cf7ca6dbdb51fb9b9725267606fba6b9.tar.gz
gtk-doc: always inherit python3native
My attempt at only inheriting python3native if it was needed was broken and didn't work, so back it out and always inherit. Signed-off-by: Ross Burton <ross.burton@intel.com>
-rw-r--r--meta/classes/gtk-doc.bbclass6
1 files changed, 2 insertions, 4 deletions
diff --git a/meta/classes/gtk-doc.bbclass b/meta/classes/gtk-doc.bbclass
index b8db4280bc..3f731cb93b 100644
--- a/meta/classes/gtk-doc.bbclass
+++ b/meta/classes/gtk-doc.bbclass
@@ -28,10 +28,8 @@ GTKDOC_DOCDIR ?= "${S}"
export STAGING_DIR_HOST
-inherit ${@oe.utils.ifelse(d.getVar('GTKDOC_ENABLED') == 'True', 'python3native', '')}
-
-inherit pkgconfig qemu
-DEPENDS_append = "${@oe.utils.ifelse(d.getVar('GTKDOC_ENABLED') == 'True', ' qemu-native', '')}"
+inherit python3native pkgconfig qemu
+DEPENDS_append = "${@' qemu-native' if d.getVar('GTKDOC_ENABLED') == 'True' else ''}"
do_configure_prepend () {
( cd ${S}; gtkdocize --docdir ${GTKDOC_DOCDIR} || true )