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 <[email protected]>
Signed-off-by: Michal Marek <[email protected]>
This commit is contained in:
Kees Cook 2016-06-11 09:09:28 -07:00 • committed by Michal Marek
commit a519167e75
2 changed files with 3 additions and 2 deletions

View file

@ -366,6 +366,7 @@ config HAVE_GCC_PLUGINS
menuconfig GCC_PLUGINS
bool "GCC plugins"
depends on HAVE_GCC_PLUGINS
depends on !COMPILE_TEST
help
GCC plugins are loadable modules that provide extra features to the
compiler. They are useful for runtime instrumentation and static analysis.