diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-01-28 08:54:55 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-01-29 21:21:53 +0000 |
commit | dcaed52ddec055ee8486e5a5b201307d651b8aff (patch) | |
tree | 7cc469f5d7d5e8cf3e47b9f60bd3f3d053246fae /meta/classes | |
parent | 71cc4c0c00db870590e7619b01db793b1ca88f87 (diff) | |
download | poky-dcaed52ddec055ee8486e5a5b201307d651b8aff.tar.gz |
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.
(From OE-Core rev: c5ee8ac6929d91f39ebf6dc6786440dc3dbd02ff)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/gtk-doc.bbclass | 1 |
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 @@ | |||
7 | # | 7 | # |
8 | # It should be used in recipes to determine whether gtk-doc based documentation should be built, | 8 | # It should be used in recipes to determine whether gtk-doc based documentation should be built, |
9 | # so that qemu use can be avoided when necessary. | 9 | # so that qemu use can be avoided when necessary. |
10 | GTKDOC_ENABLED_class-native = "False" | ||
10 | GTKDOC_ENABLED ?= "${@bb.utils.contains('DISTRO_FEATURES', 'api-documentation', \ | 11 | GTKDOC_ENABLED ?= "${@bb.utils.contains('DISTRO_FEATURES', 'api-documentation', \ |
11 | bb.utils.contains('MACHINE_FEATURES', 'qemu-usermode', 'True', 'False', d), 'False', d)}" | 12 | bb.utils.contains('MACHINE_FEATURES', 'qemu-usermode', 'True', 'False', d), 'False', d)}" |
12 | 13 | ||