Fix it by forcing the user to choose one of the two GCOV options.

Signed-off-by: Thomas Meyer <tho...@m3y3r.de>
---
 kernel/gcov/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/kernel/gcov/Kconfig b/kernel/gcov/Kconfig
index 1276aabaab55..6c0dd2a6d4fd 100644
--- a/kernel/gcov/Kconfig
+++ b/kernel/gcov/Kconfig
@@ -3,6 +3,7 @@ menu "GCOV-based kernel profiling"
 config GCOV_KERNEL
        bool "Enable gcov-based kernel profiling"
        depends on DEBUG_FS
+       depends on !GCOV
        select CONSTRUCTORS if !UML
        default n
        ---help---
-- 
2.11.0

Reply via email to