powerpc: Enable support for GCC plugins
authorAndrew Donnellan <andrew.donnellan@au1.ibm.com>
Tue, 6 Dec 2016 06:28:00 +0000 (17:28 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 3 Feb 2017 10:59:28 +0000 (21:59 +1100)
commit65c059bcaa73197ca71e8d4cc9a6c903560506c1
tree45509696e28dba816368254c6372b0e9d1f31a7b
parenteac6f8b0c7adb003776dbad9d037ee2fc64f9d62
powerpc: Enable support for GCC plugins

Enable support for GCC plugins on powerpc.

Add an additional version check in gcc-plugins-check to advise users to
upgrade to gcc 5.2+ on powerpc to avoid issues with header files (gcc <=
4.6) or missing copies of rs6000-cpus.def (4.8 to 5.1 on 64-bit
targets).

Signed-off-by: Andrew Donnellan <andrew.donnellan@au1.ibm.com>
Acked-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/Kconfig
scripts/Makefile.gcc-plugins