diff options
| author | Antonin Godard <antonin.godard@bootlin.com> | 2025-10-27 13:43:37 +0100 |
|---|---|---|
| committer | Steve Sakoman <steve@sakoman.com> | 2025-11-03 07:17:02 -0800 |
| commit | ef8c458f20dc8414fb7ca549aa3e43d3d46cd66d (patch) | |
| tree | 2b668f8df20c89bf5ba8083257df51b3ba7e3488 /documentation | |
| parent | b0e19cc72f61837dfb4d9df6d72a0499545a1d57 (diff) | |
| download | poky-ef8c458f20dc8414fb7ca549aa3e43d3d46cd66d.tar.gz | |
ref-manual/classes,variables: document the CCACHE_DISABLE variable
Can be used in recipes that want to explicitly skip Ccache support when
the ccache class is enabled.
Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
(From yocto-docs rev: e4fb6cd20955046a397b63bfe57f6cb4020b9cbb)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
(cherry picked from commit b1b4adc8d4d9d23ff6fd91bca632bb0f5277e72b)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'documentation')
| -rw-r--r-- | documentation/ref-manual/classes.rst | 8 | ||||
| -rw-r--r-- | documentation/ref-manual/variables.rst | 5 |
2 files changed, 11 insertions, 2 deletions
diff --git a/documentation/ref-manual/classes.rst b/documentation/ref-manual/classes.rst index e238575a15..d5d59cdc99 100644 --- a/documentation/ref-manual/classes.rst +++ b/documentation/ref-manual/classes.rst | |||
| @@ -355,8 +355,12 @@ file for details about how to enable this mechanism in your configuration | |||
| 355 | file, how to disable it for specific recipes, and how to share ``ccache`` | 355 | file, how to disable it for specific recipes, and how to share ``ccache`` |
| 356 | files between builds. | 356 | files between builds. |
| 357 | 357 | ||
| 358 | However, using the class can lead to unexpected side-effects. Thus, using | 358 | Recipes can also explicitly disable `Ccache` support even when the |
| 359 | this class is not recommended. | 359 | :ref:`ref-classes-ccache` class is enabled, by setting the |
| 360 | :term:`CCACHE_DISABLE` variable to "1". | ||
| 361 | |||
| 362 | Using the :ref:`ref-classes-ccache` class can lead to unexpected side-effects. | ||
| 363 | Using this class is not recommended. | ||
| 360 | 364 | ||
| 361 | .. _ref-classes-chrpath: | 365 | .. _ref-classes-chrpath: |
| 362 | 366 | ||
diff --git a/documentation/ref-manual/variables.rst b/documentation/ref-manual/variables.rst index 4c67baaadd..f517388317 100644 --- a/documentation/ref-manual/variables.rst +++ b/documentation/ref-manual/variables.rst | |||
| @@ -1458,6 +1458,11 @@ system and gives an overview of their function and contents. | |||
| 1458 | :term:`CC` | 1458 | :term:`CC` |
| 1459 | The minimal command and arguments used to run the C compiler. | 1459 | The minimal command and arguments used to run the C compiler. |
| 1460 | 1460 | ||
| 1461 | :term:`CCACHE_DISABLE` | ||
| 1462 | When inheriting the :ref:`ref-classes-ccache` class, the | ||
| 1463 | :term:`CCACHE_DISABLE` variable can be set to "1" in a recipe to disable | ||
| 1464 | `Ccache` support. This is useful when the recipe is known to not support it. | ||
| 1465 | |||
| 1461 | :term:`CCLD` | 1466 | :term:`CCLD` |
| 1462 | The minimal command and arguments used to run the linker when the C | 1467 | The minimal command and arguments used to run the linker when the C |
| 1463 | compiler is being used as the linker. | 1468 | compiler is being used as the linker. |
