[PATCH] sdk: Expose CCACHE_DIR option

Jeffery To jeffery.to at gmail.com
Sun Jun 4 21:57:51 PDT 2023


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 at gmail.com>
---
 target/sdk/files/Config.in | 7 +++++++
 1 file changed, 7 insertions(+)

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
-- 
2.39.2




More information about the openwrt-devel mailing list