]> git.sur5r.net Git - u-boot/blobdiff - Kconfig
kconfig: add CONFIG_CC_COVERAGE
[u-boot] / Kconfig
diff --git a/Kconfig b/Kconfig
index 6670913799fa9e3033528461769aef26801fb271..67b8c50cbd0116ebcbc43c84bffde0b4cff29786 100644 (file)
--- a/Kconfig
+++ b/Kconfig
@@ -59,6 +59,13 @@ config CC_OPTIMIZE_FOR_SIZE
 
          This option is enabled by default for U-Boot.
 
+config CC_COVERAGE
+       bool "Enable code coverage analysis"
+       depends on SANDBOX
+       help
+         Enabling this option will pass "--coverage" to gcc to compile
+         and link code instrumented for coverage analysis.
+
 config DISTRO_DEFAULTS
        bool "Select defaults suitable for booting general purpose Linux distributions"
        default y if ARCH_SUNXI || TEGRA