diff --git a/kernel/gcov/Kconfig b/kernel/gcov/Kconfig index c92e44855ddda18843a2b7c9102a323811d27917..1276aabaab5504508ce783d539c3be8acac84fee 100644 --- a/kernel/gcov/Kconfig +++ b/kernel/gcov/Kconfig @@ -37,6 +37,7 @@ config ARCH_HAS_GCOV_PROFILE_ALL config GCOV_PROFILE_ALL bool "Profile entire Kernel" + depends on !COMPILE_TEST depends on GCOV_KERNEL depends on ARCH_HAS_GCOV_PROFILE_ALL default n