OSDN Git Service

kbuild: get rid of trailing slash from subdir- example
authorMasahiro Yamada <masahiroy@kernel.org>
Wed, 26 Feb 2020 17:44:58 +0000 (02:44 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Thu, 27 Feb 2020 01:03:27 +0000 (10:03 +0900)
obj-* needs a trailing slash for a directory, but subdir-* does not.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Documentation/kbuild/makefiles.rst

index 4018ad7..6bc126a 100644 (file)
@@ -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.