diff mbox series

kbuild: get rid of trailing slash from subdir- example

Message ID 20200226174458.8115-1-masahiroy@kernel.org (mailing list archive)
State New, archived
Headers show
Series kbuild: get rid of trailing slash from subdir- example | expand

Commit Message

Masahiro Yamada Feb. 26, 2020, 5:44 p.m. UTC
obj-* needs a trailing slash for a directory, but subdir-* does not.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
---

 Documentation/kbuild/makefiles.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Masahiro Yamada Feb. 27, 2020, 4:07 p.m. UTC | #1
On Thu, Feb 27, 2020 at 2:45 AM Masahiro Yamada <masahiroy@kernel.org> wrote:
>
> obj-* needs a trailing slash for a directory, but subdir-* does not.
>
> Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
> ---

Applied to linux-kbuild.


>  Documentation/kbuild/makefiles.rst | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Documentation/kbuild/makefiles.rst b/Documentation/kbuild/makefiles.rst
> index 0e0eb2c8da7d..c9adfa1f9e21 100644
> --- a/Documentation/kbuild/makefiles.rst
> +++ b/Documentation/kbuild/makefiles.rst
> @@ -765,7 +765,7 @@ is not sufficient this sometimes needs to be explicit.
>         Example::
>
>                 #arch/x86/boot/Makefile
> -               subdir- := compressed/
> +               subdir- := compressed
>
>  The above assignment instructs kbuild to descend down in the
>  directory compressed/ when "make clean" is executed.
> --
> 2.17.1
>
diff mbox series

Patch

diff --git a/Documentation/kbuild/makefiles.rst b/Documentation/kbuild/makefiles.rst
index 0e0eb2c8da7d..c9adfa1f9e21 100644
--- a/Documentation/kbuild/makefiles.rst
+++ b/Documentation/kbuild/makefiles.rst
@@ -765,7 +765,7 @@  is not sufficient this sometimes needs to be explicit.
 	Example::
 
 		#arch/x86/boot/Makefile
-		subdir- := compressed/
+		subdir- := compressed
 
 The above assignment instructs kbuild to descend down in the
 directory compressed/ when "make clean" is executed.