* [PATCH] docs/core-api: Add Fedora instructions for GCC plugins
@ 2020-02-21 0:48 Michael Ellerman
2020-02-25 4:48 ` Kees Cook
2020-02-25 9:45 ` Jonathan Corbet
0 siblings, 2 replies; 3+ messages in thread
From: Michael Ellerman @ 2020-02-21 0:48 UTC (permalink / raw)
To: linux-doc; +Cc: corbet, keescook
Add an example of how to install the necessary packages for GCC
plugins on Fedora.
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
---
Documentation/core-api/gcc-plugins.rst | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/Documentation/core-api/gcc-plugins.rst b/Documentation/core-api/gcc-plugins.rst
index 8502f24396fb..4b1c10f88e30 100644
--- a/Documentation/core-api/gcc-plugins.rst
+++ b/Documentation/core-api/gcc-plugins.rst
@@ -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
--
2.21.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] docs/core-api: Add Fedora instructions for GCC plugins
2020-02-21 0:48 [PATCH] docs/core-api: Add Fedora instructions for GCC plugins Michael Ellerman
@ 2020-02-25 4:48 ` Kees Cook
2020-02-25 9:45 ` Jonathan Corbet
1 sibling, 0 replies; 3+ messages in thread
From: Kees Cook @ 2020-02-25 4:48 UTC (permalink / raw)
To: Michael Ellerman; +Cc: linux-doc, corbet
On Fri, Feb 21, 2020 at 11:48:43AM +1100, Michael Ellerman wrote:
> Add an example of how to install the necessary packages for GCC
> plugins on Fedora.
>
> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Reviewed-by: Kees Cook <keescook@chromium.org>
-Kees
> ---
> Documentation/core-api/gcc-plugins.rst | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/Documentation/core-api/gcc-plugins.rst b/Documentation/core-api/gcc-plugins.rst
> index 8502f24396fb..4b1c10f88e30 100644
> --- a/Documentation/core-api/gcc-plugins.rst
> +++ b/Documentation/core-api/gcc-plugins.rst
> @@ -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
> --
> 2.21.1
>
--
Kees Cook
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] docs/core-api: Add Fedora instructions for GCC plugins
2020-02-21 0:48 [PATCH] docs/core-api: Add Fedora instructions for GCC plugins Michael Ellerman
2020-02-25 4:48 ` Kees Cook
@ 2020-02-25 9:45 ` Jonathan Corbet
1 sibling, 0 replies; 3+ messages in thread
From: Jonathan Corbet @ 2020-02-25 9:45 UTC (permalink / raw)
To: Michael Ellerman; +Cc: linux-doc, keescook
On Fri, 21 Feb 2020 11:48:43 +1100
Michael Ellerman <mpe@ellerman.id.au> wrote:
> Add an example of how to install the necessary packages for GCC
> plugins on Fedora.
>
> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
> ---
> 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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-02-25 9:45 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-02-21 0:48 [PATCH] docs/core-api: Add Fedora instructions for GCC plugins Michael Ellerman
2020-02-25 4:48 ` Kees Cook
2020-02-25 9:45 ` Jonathan Corbet
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).