diff options
author | Danomi Manchego <danomimanchego123@gmail.com> | 2014-04-30 22:05:07 -0400 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2014-06-14 20:00:35 +0200 |
commit | dd79f2dfae6db7f677bfb10b149ce67f294b91e2 (patch) | |
tree | b206abae47e311d706851177cc6907445b8e58b0 /Config.in | |
parent | d93a0b402934309c632d4a825b7fe6183ce8c4c7 (diff) | |
download | buildroot-dd79f2dfae6db7f677bfb10b149ce67f294b91e2.tar.gz buildroot-dd79f2dfae6db7f677bfb10b149ce67f294b91e2.zip |
ccache: provide capability to do initial ccache setup
For example, if your project is known to require more space than the
default max cache size, then you might want to increase the cache size
to a suitable amount using the -M (--max-size) option.
The string you specify here is passed verbatim to ccache. Refer to
ccache documentation for more details.
These initial settings are applied after ccache has been compiled.
Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com>
Reviewed-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Tested-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'Config.in')
-rw-r--r-- | Config.in | 21 |
1 files changed, 19 insertions, 2 deletions
@@ -266,7 +266,7 @@ config BR2_CCACHE help This option will enable the use of ccache, a compiler cache. It will cache the result of previous builds to speed - up future builds. The cache is stored in + up future builds. By default, the cache is stored in $HOME/.buildroot-ccache. Note that Buildroot does not try to invalidate the cache @@ -276,13 +276,30 @@ config BR2_CCACHE ccache cache by removing the $HOME/.buildroot-ccache directory. +if BR2_CCACHE + config BR2_CCACHE_DIR string "Compiler cache location" - depends on BR2_CCACHE default "$(HOME)/.buildroot-ccache" help Where ccache should store cached files. +config BR2_CCACHE_INITIAL_SETUP + string "Compiler cache initial setup" + help + Initial ccache settings to apply, such as --max-files or --max-size. + + For example, if your project is known to require more space than the + default max cache size, then you might want to increase the cache size + to a suitable amount using the -M (--max-size) option. + + The string you specify here is passed verbatim to ccache. Refer to + ccache documentation for more details. + + These initial settings are applied after ccache has been compiled. + +endif + config BR2_DEPRECATED bool "Show packages that are deprecated or obsolete" help |