diff options
| author | Christian Gmeiner <[email protected]> | 2018-04-09 17:11:45 +0200 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2018-04-13 13:02:50 -0400 |
| commit | 52ff8020d02f312364ceaf0b1114759d3a1f357b (patch) | |
| tree | 3e48f7c0d3ee125191388959921ba5b3322f2a35 /Kconfig | |
| parent | cd5d2742521a7af3512cee40d8917e1eb71c0801 (diff) | |
kconfig: add CONFIG_CC_COVERAGE
Make it possible to use gcc code coverage analysis.
v1 -> v2:
- Kconfig: remove not needed 'default n'
- Makefile: use consistent spacing
Signed-off-by: Christian Gmeiner <[email protected]>
Reviewed-by: Tom Rini <[email protected]>
Diffstat (limited to 'Kconfig')
| -rw-r--r-- | Kconfig | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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 |
