diff options
author | Angelo Ribeiro <Angelo.Ribeiro@criticaltechworks.com> | 2023-08-17 10:01:15 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-08-21 11:34:12 +0100 |
commit | 8f98a81394312bc7d25503e91a1e4af1fa7767ff (patch) | |
tree | 7de1b50e4966ac6715ee4db1f5f4ad6b395aa772 /meta/conf/documentation.conf | |
parent | 853e98f54b7fe06fb68951aa514b5c4efcc19b0c (diff) | |
download | poky-8f98a81394312bc7d25503e91a1e4af1fa7767ff.tar.gz |
ccache.bbclass: Add allowed list for native recipes
Native recipes are not able to use ccache currently, due to a circular
dependency between ccache-native and cmake-native.
This affects also other native recipes, but not all, imposing a
limitation in build time optimizations.
The introduction of CCACHE_NATIVE_RECIPES_ALLOWED allows the user to specify
which native recipes should use ccache, keeping it disable by default for all
native recipes.
(From OE-Core rev: 87cb2be71e0c0c123eaae6a5ae135900c95535db)
Signed-off-by: Angelo Ribeiro <Angelo.Ribeiro@criticaltechworks.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf/documentation.conf')
-rw-r--r-- | meta/conf/documentation.conf | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/conf/documentation.conf b/meta/conf/documentation.conf index 66b8e2f24f..fc1b4978fd 100644 --- a/meta/conf/documentation.conf +++ b/meta/conf/documentation.conf | |||
@@ -106,6 +106,7 @@ BUSYBOX_SPLIT_SUID[doc] = "For the BusyBox recipe, specifies whether to split th | |||
106 | #C | 106 | #C |
107 | 107 | ||
108 | CACHE[doc] = "The directory holding the cache of the metadata." | 108 | CACHE[doc] = "The directory holding the cache of the metadata." |
109 | CCACHE_NATIVE_RECIPES_ALLOWED[doc] = "A list of native recipes to use Ccache, this variable is useful to bypass a circular dependency between ccache-native and cmake-native that inhibits to use Ccache in other native recipes." | ||
109 | CFLAGS[doc] = "Flags passed to the C compiler for the target system. This variable evaluates to the same as TARGET_CFLAGS." | 110 | CFLAGS[doc] = "Flags passed to the C compiler for the target system. This variable evaluates to the same as TARGET_CFLAGS." |
110 | CLASSOVERRIDE[doc] = "An internal variable specifying the special class override that should currently apply (e.g. "class-target", "class-native", and so forth)." | 111 | CLASSOVERRIDE[doc] = "An internal variable specifying the special class override that should currently apply (e.g. "class-target", "class-native", and so forth)." |
111 | CLEANBROKEN[doc] = "Specifies if 'make clean' does not work for a recipe (and therefore the build system should not try to use it during do_configure)" | 112 | CLEANBROKEN[doc] = "Specifies if 'make clean' does not work for a recipe (and therefore the build system should not try to use it during do_configure)" |