From d5bcc413d06cfc4cf7369080f1d16743ec38d6f2 Mon Sep 17 00:00:00 2001 From: Antonin Godard Date: Tue, 6 Jan 2026 16:22:06 +0100 Subject: [PATCH] ref-manual/variables.rst: document the CCACHE_TOP_DIR variable Added by commit 35d7fe73bba1 ("ccache.bbclass: Make it can be shared between different builds") in OE-Core. Fixes [YOCTO #16052] (From yocto-docs rev: e4f5ba7bb34586cd7bee7f0fe69c39b36dabb357) Signed-off-by: Antonin Godard (cherry picked from commit 550ef8340b550f8d4e9c3d0672190dc09592c621) Fix conflicts: CCLD variable in master not on kirkstone. Signed-off-by: Antonin Godard Signed-off-by: Richard Purdie --- documentation/ref-manual/variables.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/documentation/ref-manual/variables.rst b/documentation/ref-manual/variables.rst index f8ad8de3b1..bd66de6ca2 100644 --- a/documentation/ref-manual/variables.rst +++ b/documentation/ref-manual/variables.rst @@ -1102,6 +1102,12 @@ system and gives an overview of their function and contents. :term:`CCACHE_DISABLE` variable can be set to "1" in a recipe to disable `Ccache` support. This is useful when the recipe is known to not support it. + :term:`CCACHE_TOP_DIR` + When inheriting the :ref:`ref-classes-ccache` class, the + :term:`CCACHE_TOP_DIR` variable can be set to the location of where + `Ccache` stores its cache files. This directory can be shared between + builds. + :term:`CFLAGS` Specifies the flags to pass to the C compiler. This variable is exported to an environment variable and thus made visible to the