From a2689d901b077cf7f45d23d359619c87dd80a759 Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Wed, 27 Jul 2022 20:48:48 +0200 Subject: [PATCH] docs/manual/ccache-support.txt: expand explanation about ccache cache location The manual explanation seemed to imply that the cache is always in ~/.buildroot-ccache/, but it's just the default value. Clarify this point. Signed-off-by: Thomas Petazzoni Signed-off-by: Yann E. MORIN --- docs/manual/ccache-support.txt | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/docs/manual/ccache-support.txt b/docs/manual/ccache-support.txt index f6746ad7d8..ea64628615 100644 --- a/docs/manual/ccache-support.txt +++ b/docs/manual/ccache-support.txt @@ -15,10 +15,12 @@ speed up the build process. +Enable compiler cache+ in +Build options+. This will automatically build +ccache+ and use it for every host and target compilation. -The cache is located in +$HOME/.buildroot-ccache+. It is stored -outside of Buildroot output directory so that it can be shared by -separate Buildroot builds. If you want to get rid of the cache, simply -remove this directory. +The cache is located in the directory defined by the +BR2_CCACHE_DIR+ +configuration option, which defaults to ++$HOME/.buildroot-ccache+. This default location is outside of +Buildroot output directory so that it can be shared by separate +Buildroot builds. If you want to get rid of the cache, simply remove +this directory. You can get statistics on the cache (its size, number of hits, misses, etc.) by running +make ccache-stats+.