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...@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


_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to