diff options
author | Ross Burton <ross.burton@intel.com> | 2016-09-12 12:46:26 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-09-14 22:20:03 +0100 |
commit | 201e069625e3623ff71864f969664c6d5d3b1801 (patch) | |
tree | 88ba8b41ced07f453ac89a59fc5421002a04d721 /meta/classes | |
parent | 33b0d940b09a5ce1462476614213a58d3d62e80d (diff) | |
download | openembedded-core-201e069625e3623ff71864f969664c6d5d3b1801.tar.gz openembedded-core-201e069625e3623ff71864f969664c6d5d3b1801.tar.bz2 openembedded-core-201e069625e3623ff71864f969664c6d5d3b1801.zip |
classes/gtk-doc: lazy assign GTKDOC_ENABLED
By letting a recipe assign GTKDOC_ENABLED trivially there is a simple and clear
way to disable gtk-doc for specific build configurations.
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/gtk-doc.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/gtk-doc.bbclass b/meta/classes/gtk-doc.bbclass index b2b6239f06..297eac63b7 100644 --- a/meta/classes/gtk-doc.bbclass +++ b/meta/classes/gtk-doc.bbclass @@ -7,7 +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 = "${@bb.utils.contains('DISTRO_FEATURES', 'api-documentation', \ +GTKDOC_ENABLED ?= "${@bb.utils.contains('DISTRO_FEATURES', 'api-documentation', \ bb.utils.contains('MACHINE_FEATURES', 'qemu-usermode', 'True', 'False', d), 'False', d)}" EXTRA_OECONF_prepend_class-target = "${@bb.utils.contains('GTKDOC_ENABLED', 'True', '--enable-gtk-doc --enable-gtk-doc-html --disable-gtk-doc-pdf', \ |