[openwrt/openwrt] sdk: Expose CCACHE_DIR option

LEDE Commits lede-commits at lists.infradead.org
Wed Jun 7 00:14:11 PDT 2023


ynezz pushed a commit to openwrt/openwrt.git, branch openwrt-23.05:
https://git.openwrt.org/38f8f56c7a2989c4896b2a3fb560dda7ccfd216a

commit 38f8f56c7a2989c4896b2a3fb560dda7ccfd216a
Author: Jeffery To <jeffery.to at gmail.com>
AuthorDate: Mon Jun 5 12:57:51 2023 +0800

    sdk: Expose CCACHE_DIR option
    
    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>
    (cherry picked from commit 897691fdce27868aa4c0c68de8b67e8af6f209e1)
---
 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 a14c17fe95..0cf68faa6e 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




More information about the lede-commits mailing list