sdk: Expose CCACHE_DIR option
authorJeffery To <jeffery.to@gmail.com>
Mon, 5 Jun 2023 04:57:51 +0000 (12:57 +0800)
committerPetr Štetiar <ynezz@true.cz>
Wed, 7 Jun 2023 07:06:55 +0000 (09:06 +0200)
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>
(cherry picked from commit 897691fdce27868aa4c0c68de8b67e8af6f209e1)

target/sdk/files/Config.in

index a14c17fe955ba3b2d5b3424fa02bb6279bc9ba51..0cf68faa6e1296cdc26ada83a61924350f1f0a8f 100644 (file)
@@ -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