Skip to contentSkip to conversation

kbuild: get rid of trailing slash from subdir- example

PATCH In review Masahiro Yamada 1 participant 2 messages Feb 26, 2020 – Feb 27, 2020

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 kbuild: get rid of trailing slash from subdir- example

obj-* needs a trailing slash for a directory, but subdir-* does not.

---

 Documentation/kbuild/makefiles.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/kbuild/makefiles.rst +1 -1
index 0e0eb2c8da7d..c9adfa1f9e21 100644
@@ -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.
Signature · 1 line
2.17.1
#1 lore raw
Quoted 5 lines · Masahiro Yamada

obj-* needs a trailing slash for a directory, but subdir-* does not.

---

Applied to linux-kbuild.

Quoted 19 lines
 Documentation/kbuild/makefiles.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/kbuild/makefiles.rst +1 -2
index 0e0eb2c8da7d..c9adfa1f9e21 100644
@@ -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

Signature · 2 lines
Best Regards
Masahiro Yamada