Add support to build with ccache in the build system

Signed-off-by: Patrick Georgi <patrick.georgi@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>


git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5297 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
diff --git a/src/Kconfig b/src/Kconfig
index 5da2973..d9c4607 100644
--- a/src/Kconfig
+++ b/src/Kconfig
@@ -62,6 +62,7 @@
 config SCANBUILD_ENABLE
 	bool "Build with scan-build for static analysis"
 	default n
+	depends on !CCACHE
 	help
 	  Changes the build process to scan-build is used.
 	  Requires scan-build in path.
@@ -73,6 +74,13 @@
 	help
 	  Where the scan-build report should be stored
 
+config CCACHE
+	bool "ccache"
+	default n
+	help
+	  Enables the use of ccache for faster builds.
+	  Requires ccache in path.
+
 endmenu
 
 source src/mainboard/Kconfig