summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorKees Cook <keescook@chromium.org>2016-06-11 09:09:28 -0700
committerMichal Marek <mmarek@suse.com>2016-07-27 00:08:54 +0200
commita519167e753e6a89476115375b65a7eb6ec485b3 (patch)
tree83a143dea6083302a945e17f8a2175f16d122470 /lib
parent228d96c603cf53e32f672c0e459d2adbc5a4609a (diff)
downloadlinux-a519167e753e6a89476115375b65a7eb6ec485b3.tar.gz
linux-a519167e753e6a89476115375b65a7eb6ec485b3.tar.bz2
linux-a519167e753e6a89476115375b65a7eb6ec485b3.zip
gcc-plugins: disable under COMPILE_TEST
Since adding the gcc plugin development headers is required for the gcc plugin support, we should ease into this new kernel build dependency more slowly. For now, disable the gcc plugins under COMPILE_TEST so that all*config builds will skip it. Signed-off-by: Kees Cook <keescook@chromium.org> Signed-off-by: Michal Marek <mmarek@suse.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/Kconfig.debug4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
index b7827dca3fec..7936e5e4da9d 100644
--- a/lib/Kconfig.debug
+++ b/lib/Kconfig.debug
@@ -708,8 +708,8 @@ config KCOV
bool "Code coverage for fuzzing"
depends on ARCH_HAS_KCOV
select DEBUG_FS
- select GCC_PLUGINS
- select GCC_PLUGIN_SANCOV
+ select GCC_PLUGINS if !COMPILE_TEST
+ select GCC_PLUGIN_SANCOV if !COMPILE_TEST
help
KCOV exposes kernel code coverage information in a form suitable
for coverage-guided fuzzing (randomized testing).