mirror of
https://git.yoctoproject.org/poky
synced 2026-02-05 08:18:43 +01:00
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>
This commit is contained in:
@@ -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)}"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user