[PATCH] gcov: GCOV_KERNEL and GCOV are mutually exclusive

From: Thomas Meyer
Date: Tue Sep 26 2017 - 15:37:41 EST


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

Signed-off-by: Thomas Meyer <thomas@xxxxxxxx>
---
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