Skip to contentSkip to conversation

docs/core-api: Add Fedora instructions for GCC plugins

PATCH Applied Michael Ellerman 3 participants 3 messages Feb 21, 2020 – Feb 25, 2020 Documentation

lore
Share & tools
lore
#0 lore raw

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.

---
 Documentation/core-api/gcc-plugins.rst | 4 ++++
 1 file changed, 4 insertions(+)
Documentation/core-api/gcc-plugins.rst +4 -0
index 8502f24396fb..4b1c10f88e30 100644
@@ -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
Reviewed-by on v1 1/1
#1 lore raw
Quoted 4 lines · Michael Ellerman

Add an example of how to install the necessary packages for GCC plugins on Fedora.

-Kees

Quoted 22 lines
---
 Documentation/core-api/gcc-plugins.rst | 4 ++++
 1 file changed, 4 insertions(+)
Documentation/core-api/gcc-plugins.rst +4 -0
index 8502f24396fb..4b1c10f88e30 100644
@@ -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
Signature · 1 line
Kees Cook
maintainer Applied
#2 lore raw
In reply to Michael Ellerman
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.

---
 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