gcc-plugins: move GCC version check for PowerPC to Kconfig
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Mon, 28 May 2018 09:22:05 +0000 (18:22 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Mon, 11 Jun 2018 00:14:36 +0000 (09:14 +0900)
commit8034c2fb1225979b1cc9b9a12fa8094ca10b4fc3
tree7703f2b4d456c843630855d5eec93541ad4f4268
parent5aadfdeb8de001ca04d500586e3b033404c28617
gcc-plugins: move GCC version check for PowerPC to Kconfig

For PowerPC, GCC 5.2 is the requirement for GCC plugins.  Move the
version check to Kconfig so that the GCC plugin menus will be hidden
if an older compiler is in use.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Acked-by: Andrew Donnellan <andrew.donnellan@au1.ibm.com>
Reviewed-by: Kees Cook <keescook@chromium.org>
arch/powerpc/Kconfig
scripts/Makefile.gcc-plugins