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>
Mon, 5 Jun 2023 08:00:58 +0000 (10:00 +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>
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