summaryrefslogtreecommitdiff
path: root/toolchain/ccache/Config.in
diff options
context:
space:
mode:
authorWade Berrier <wberrier@gmail.com>2008-10-06 19:14:41 +0000
committerWade Berrier <wberrier@gmail.com>2008-10-06 19:14:41 +0000
commitaf9710538ec1ece4819415341d303fb55c837331 (patch)
tree93332a1df03e6187a0f735108235e9f1f5f1b72a /toolchain/ccache/Config.in
parent6f6893c633ef6d31c467a4154088b2962c93fd77 (diff)
ccache:
-Allow user to specify custom ccache location. This allows you to build a toolchain and put it on an nfs share so other people can use the toolchain without errors about the ccache dir missing.
Diffstat (limited to 'toolchain/ccache/Config.in')
-rw-r--r--toolchain/ccache/Config.in10
1 files changed, 10 insertions, 0 deletions
diff --git a/toolchain/ccache/Config.in b/toolchain/ccache/Config.in
index 95f3a9c1a..3d3e2ed50 100644
--- a/toolchain/ccache/Config.in
+++ b/toolchain/ccache/Config.in
@@ -7,3 +7,13 @@ config BR2_CCACHE
help
Enable ccache support?
+config BR2_CCACHE_DIR
+ string "ccache dir location?"
+ depends on BR2_CCACHE
+ default "$(TOOL_BUILD_DIR)/ccache-$(CCACHE_VER)/cache"
+ help
+ Where ccache should store cached files.
+
+comment "ccache dir location? - disabled (requires ccache support)"
+ depends on !BR2_CCACHE
+