summaryrefslogtreecommitdiffstats
path: root/documentation
diff options
context:
space:
mode:
authorAntonin Godard <antonin.godard@bootlin.com>2025-10-27 13:43:36 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-10-29 23:16:34 +0000
commit1dd4a9ed9812acd4bfc12884a104fe0e3ca293f7 (patch)
treec8e030ac5df3f22bf63490d9960ce721768aca89 /documentation
parent7eebd8b425c753a75554a4b0dc406997177f7df3 (diff)
downloadpoky-1dd4a9ed9812acd4bfc12884a104fe0e3ca293f7.tar.gz
ref-manual/classes.rst: ccache: mention that the host's ccache can be used
This feature was added by commit cc91a0f6500e ("ccache: enable ccache for all recipes if it is in HOSTTOOLS") in OE-Core. Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de> (From yocto-docs rev: 47ded4e32c28420ddb47278b299093af649fab75) Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation')
-rw-r--r--documentation/ref-manual/classes.rst11
1 files changed, 9 insertions, 2 deletions
diff --git a/documentation/ref-manual/classes.rst b/documentation/ref-manual/classes.rst
index 6389063535..4d0882401e 100644
--- a/documentation/ref-manual/classes.rst
+++ b/documentation/ref-manual/classes.rst
@@ -392,8 +392,15 @@ file for details about how to enable this mechanism in your configuration
392file, how to disable it for specific recipes, and how to share ``ccache`` 392file, how to disable it for specific recipes, and how to share ``ccache``
393files between builds. 393files between builds.
394 394
395However, using the class can lead to unexpected side-effects. Thus, using 395Recipes (including :ref:`ref-classes-native` ones) can make use of the host's
396this class is not recommended. 396``ccache`` binary (via :term:`HOSTTOOLS`) if the following configuration
397statements are provided in a :term:`configuration file`::
398
399 ASSUME_PROVIDED += "ccache-native"
400 HOSTTOOLS += "ccache"
401
402Using the :ref:`ref-classes-ccache` class can lead to unexpected side-effects.
403Using this class is not recommended.
397 404
398.. _ref-classes-chrpath: 405.. _ref-classes-chrpath:
399 406