aboutsummaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2021-01-28 08:54:55 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-01-29 21:21:27 +0000
commitc5ee8ac6929d91f39ebf6dc6786440dc3dbd02ff (patch)
treeda717c44e4678299e55dc4a0f46f368af9753f70 /meta
parent2edd826531d79744d7b2114c5f24296966d51781 (diff)
downloadopenembedded-core-c5ee8ac6929d91f39ebf6dc6786440dc3dbd02ff.tar.gz
openembedded-core-c5ee8ac6929d91f39ebf6dc6786440dc3dbd02ff.tar.bz2
openembedded-core-c5ee8ac6929d91f39ebf6dc6786440dc3dbd02ff.zip
gtk-doc: Disable dependencies in native case
Ensure that dependencies like qemu-native aren't added in the native case since we don't want docs generate for native recipes. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/gtk-doc.bbclass1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/classes/gtk-doc.bbclass b/meta/classes/gtk-doc.bbclass
index 7dd662bf86..ef99e63faf 100644
--- a/meta/classes/gtk-doc.bbclass
+++ b/meta/classes/gtk-doc.bbclass
@@ -7,6 +7,7 @@
#
# It should be used in recipes to determine whether gtk-doc based documentation should be built,
# so that qemu use can be avoided when necessary.
+GTKDOC_ENABLED_class-native = "False"
GTKDOC_ENABLED ?= "${@bb.utils.contains('DISTRO_FEATURES', 'api-documentation', \
bb.utils.contains('MACHINE_FEATURES', 'qemu-usermode', 'True', 'False', d), 'False', d)}"