diff options
author | Tzu-Jung Lee <roylee17@gmail.com> | 2013-10-10 10:50:57 -0700 |
---|---|---|
committer | Peter Korsgaard <peter@korsgaard.com> | 2013-10-27 10:30:10 +0100 |
commit | d1bca7c49c5f80673a2ff88bdad798812b09e9f2 (patch) | |
tree | 7cab70845770e05bdd5ac1125c7615d7b6c841a6 /docs/manual | |
parent | 96f702993cfa4b7e15549faddbc41917663dbe37 (diff) | |
download | buildroot-d1bca7c49c5f80673a2ff88bdad798812b09e9f2.tar.gz buildroot-d1bca7c49c5f80673a2ff88bdad798812b09e9f2.zip |
ccache: expose control interface via 'make ccache-options'
usage:
# set cache limit size
make CCACHE_OPTIONS="--max-size=5G" ccache-options
# zero statistics counters
make CCACHE_OPTIONS="--zero-stats" ccache-options
[Peter: drop the redundant ifeq]
Signed-off-by: Tzu-Jung Lee <tjlee@ambarella.com>
Acked-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'docs/manual')
-rw-r--r-- | docs/manual/ccache-support.txt | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/docs/manual/ccache-support.txt b/docs/manual/ccache-support.txt index 4969180a29..fe06a01faf 100644 --- a/docs/manual/ccache-support.txt +++ b/docs/manual/ccache-support.txt @@ -23,3 +23,14 @@ remove this directory. You can get statistics on the cache (its size, number of hits, misses, etc.) by running +make ccache-stats+. + +The make target +ccache-options+ and the +CCACHE_OPTIONS+ variable +provide more generic access to the ccache. For example + +----------------- +# set cache limit size +make CCACHE_OPTIONS="--max-size=5G" ccache-options + +# zero statistics counters +make CCACHE_OPTIONS="--zero-stats" ccache-options +----------------- |