um: Make GCOV depend on !KCOV
authorRichard Weinberger <richard@nod.at>
Tue, 30 Oct 2018 11:58:12 +0000 (12:58 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 5 Dec 2019 14:34:56 +0000 (15:34 +0100)
[ Upstream commit 550ed0e2036663b35cec12374b835444f9c60454 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/um/Kconfig.debug

index 68205fd..6ae7f0f 100644 (file)
@@ -18,6 +18,7 @@ config GPROF
 config GCOV
        bool "Enable gcov support"
        depends on DEBUG_INFO
+       depends on !KCOV
        help
          This option allows developers to retrieve coverage data from a UML
          session.