docs/core-api: Add Fedora instructions for GCC plugins
PATCH 1/1 docs/core-api: Add Fedora instructions for GCC plugins
Add an example of how to install the necessary packages for GCC plugins on Fedora.
Signed-off-by Michael Ellerman <[email protected]>
--- Documentation/core-api/gcc-plugins.rst | 4 ++++ 1 file changed, 4 insertions(+)
Documentation/core-api/gcc-plugins.rst +4 -0
@@ -72,6 +72,10 @@ You must install the gcc plugin headers for your gcc version, apt-get install gcc-4.9-plugin-dev +Or on Fedora:: + + dnf install gcc-plugin-devel + Enable a GCC plugin based feature in the kernel config:: CONFIG_GCC_PLUGIN_CYC_COMPLEXITY = y
Signature · 1 line
2.21.1
Quoted 4 lines · Michael Ellerman
Add an example of how to install the necessary packages for GCC plugins on Fedora.
Signed-off-by Michael Ellerman <[email protected]>
Reviewed-by Kees Cook <[email protected]>
-Kees
Quoted 22 lines
--- Documentation/core-api/gcc-plugins.rst | 4 ++++ 1 file changed, 4 insertions(+)Documentation/core-api/gcc-plugins.rst +4
-0@@ -72,6 +72,10 @@ You must install the gcc plugin headers for your gcc version, apt-get install gcc-4.9-plugin-dev +Or on Fedora:: + + dnf install gcc-plugin-devel + Enable a GCC plugin based feature in the kernel config:: CONFIG_GCC_PLUGIN_CYC_COMPLEXITY = ySignature · 1 line
2.21.1
Signature · 1 line
Kees Cook
Quoted 7 lines · On Fri, 21 Feb 2020 11:48:43 +1100 Michael Ellerman <[email protected]> wrote:
Add an example of how to install the necessary packages for GCC plugins on Fedora.
Signed-off-by Michael Ellerman <[email protected]>--- Documentation/core-api/gcc-plugins.rst | 4 ++++ 1 file changed, 4 insertions(+)
I've applied this, thanks.
I do wonder if this document maybe belongs with the kbuild docs rather than in the core-api book, but that's a separate matter...
Thanks,
jon