diff mbox series

sdk: Expose CCACHE_DIR option

Message ID 20230605045751.180275-1-jeffery.to@gmail.com
State Accepted
Delegated to: Petr Štetiar
Headers show
Series sdk: Expose CCACHE_DIR option | expand

Commit Message

Jeffery To June 5, 2023, 4:57 a.m. UTC
As the CCACHE option is already exposed, it would be helpful to also
make the ccache directory easily customizable.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
---
 target/sdk/files/Config.in | 7 +++++++
 1 file changed, 7 insertions(+)
diff mbox series

Patch

diff --git a/target/sdk/files/Config.in b/target/sdk/files/Config.in
index a14c17fe955b..0cf68faa6e12 100644
--- a/target/sdk/files/Config.in
+++ b/target/sdk/files/Config.in
@@ -119,6 +119,13 @@  menu "Advanced configuration options (for developers)"
 		help
 		  Compiler cache; see https://ccache.samba.org/
 
+	config CCACHE_DIR
+		string "Set ccache directory" if CCACHE
+		default ""
+		help
+		  Store ccache in this directory.
+		  If not set, uses './.ccache'
+
 	config BUILD_LOG
 		bool "Enable log files during build process"
 		help