[4/4] um: Make GCOV depend on !KCOV

Message ID 20181030115812.346-4-richard@nod.at
State New
Headers show
  • [1/4] um: Fix warning at kernel/time/clockevents.c:466
Related show

Commit Message

Richard Weinberger Oct. 30, 2018, 11:58 a.m.
Both do more or less the same thing and are mutually exclusive.
If both are enabled the build will fail.
Sooner or later we can kill UML's GCOV.

Signed-off-by: Richard Weinberger <richard@nod.at>
 arch/um/Kconfig.debug | 1 +
 1 file changed, 1 insertion(+)


diff --git a/arch/um/Kconfig.debug b/arch/um/Kconfig.debug
index 2014597605ea..85726eeec345 100644
--- a/arch/um/Kconfig.debug
+++ b/arch/um/Kconfig.debug
@@ -16,6 +16,7 @@  config GPROF
 config GCOV
 	bool "Enable gcov support"
 	depends on DEBUG_INFO
+	depends on !KCOV
 	  This option allows developers to retrieve coverage data from a UML