]> code.ossystems Code Review - openembedded-core.git/commitdiff
gtk-doc: Disable dependencies in native case
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 28 Jan 2021 08:54:55 +0000 (08:54 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 29 Jan 2021 21:21:27 +0000 (21:21 +0000)
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>
meta/classes/gtk-doc.bbclass

index 7dd662bf8682d517cd4f98bdaa97f304edfa24f9..ef99e63faf9cf905ea5aaedc8b577403cfa4dbd2 100644 (file)
@@ -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)}"