Re: [PATCH 2/3] docs: move gcc-plugins to the kbuild manual

From: Masahiro Yamada
Date: Wed Mar 04 2020 - 21:13:23 EST


On Tue, Mar 3, 2020 at 7:40 AM Jonathan Corbet <corbet@xxxxxxx> wrote:
>
> Information about GCC plugins is relevant to kernel building, so move this
> document to the kbuild manual.
>
> Signed-off-by: Jonathan Corbet <corbet@xxxxxxx>


Acked-by: Masahiro Yamada <masahiroy@xxxxxxxxxx>


> ---
> Documentation/core-api/index.rst | 1 -
> Documentation/{core-api => kbuild}/gcc-plugins.rst | 0
> Documentation/kbuild/index.rst | 1 +
> MAINTAINERS | 2 +-
> scripts/gcc-plugins/Kconfig | 2 +-
> 5 files changed, 3 insertions(+), 3 deletions(-)
> rename Documentation/{core-api => kbuild}/gcc-plugins.rst (100%)
>
> diff --git a/Documentation/core-api/index.rst b/Documentation/core-api/index.rst
> index b39dae276b57..9836a0ac09a3 100644
> --- a/Documentation/core-api/index.rst
> +++ b/Documentation/core-api/index.rst
> @@ -102,7 +102,6 @@ Documents that don't fit elsewhere or which have yet to be categorized.
> :maxdepth: 1
>
> librs
> - gcc-plugins
> ioctl
>
> .. only:: subproject and html
> diff --git a/Documentation/core-api/gcc-plugins.rst b/Documentation/kbuild/gcc-plugins.rst
> similarity index 100%
> rename from Documentation/core-api/gcc-plugins.rst
> rename to Documentation/kbuild/gcc-plugins.rst
> diff --git a/Documentation/kbuild/index.rst b/Documentation/kbuild/index.rst
> index 0f144fad99a6..82daf2efcb73 100644
> --- a/Documentation/kbuild/index.rst
> +++ b/Documentation/kbuild/index.rst
> @@ -19,6 +19,7 @@ Kernel Build System
>
> issues
> reproducible-builds
> + gcc-plugins
>
> .. only:: subproject and html
>
> diff --git a/MAINTAINERS b/MAINTAINERS
> index 38fe2f3f7b6f..f508f6c783d6 100644
> --- a/MAINTAINERS
> +++ b/MAINTAINERS
> @@ -6934,7 +6934,7 @@ S: Maintained
> F: scripts/gcc-plugins/
> F: scripts/gcc-plugin.sh
> F: scripts/Makefile.gcc-plugins
> -F: Documentation/core-api/gcc-plugins.rst
> +F: Documentation/kbuild/gcc-plugins.rst
>
> GASKET DRIVER FRAMEWORK
> M: Rob Springer <rspringer@xxxxxxxxxx>
> diff --git a/scripts/gcc-plugins/Kconfig b/scripts/gcc-plugins/Kconfig
> index e3569543bdac..f8ca236d6165 100644
> --- a/scripts/gcc-plugins/Kconfig
> +++ b/scripts/gcc-plugins/Kconfig
> @@ -23,7 +23,7 @@ menuconfig GCC_PLUGINS
> GCC plugins are loadable modules that provide extra features to the
> compiler. They are useful for runtime instrumentation and static analysis.
>
> - See Documentation/core-api/gcc-plugins.rst for details.
> + See Documentation/kbuild/gcc-plugins.rst for details.
>
> if GCC_PLUGINS
>
> --
> 2.24.1
>


--
Best Regards
Masahiro Yamada