Skip to contentSkip to conversation

kbuild: remove wrong documentation about mandatory-y

PATCH In review Masahiro Yamada 1 participant 2 messages Feb 19, 2020 – Feb 20, 2020

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

PATCH 1/1 kbuild: remove wrong documentation about mandatory-y

This sentence does not make sense in the section about mandatory-y.

This seems to be a copy-paste mistake of commit fcc8487d477a ("uapi:
export all headers under uapi directories").

The correct description would be "The convention is to list one mandatory-y per line ...".

I just removed it instead of fixing it. If such information is needed, it could be commented in include/asm-generic/Kbuild and include/uapi/asm-generic/Kbuild.

---

 Documentation/kbuild/makefiles.rst | 3 ---
 1 file changed, 3 deletions(-)
Documentation/kbuild/makefiles.rst +0 -3
index 0e0eb2c8da7d..4018ad7c7a11 100644
@@ -1379,9 +1379,6 @@ See subsequent chapter for the syntax of the Kbuild file.
 	in arch/$(ARCH)/include/(uapi/)/asm, Kbuild will automatically generate
 	a wrapper of the asm-generic one.
 
-	The convention is to list one subdir per line and
-	preferably in alphabetic order.
-
 8 Kbuild Variables
 ==================
 
Signature · 1 line
2.17.1
#1 lore raw
Quoted 6 lines · Masahiro Yamada

This sentence does not make sense in the section about mandatory-y.

This seems to be a copy-paste mistake of commit fcc8487d477a ("uapi:
export all headers under uapi directories").

Quoted 8 lines

The correct description would be "The convention is to list one mandatory-y per line ...".

I just removed it instead of fixing it. If such information is needed, it could be commented in include/asm-generic/Kbuild and include/uapi/asm-generic/Kbuild.

Applied to linux-kbuild.

Quoted 22 lines

---

 Documentation/kbuild/makefiles.rst | 3 ---
 1 file changed, 3 deletions(-)
Documentation/kbuild/makefiles.rst +0 -4
index 0e0eb2c8da7d..4018ad7c7a11 100644
@@ -1379,9 +1379,6 @@ See subsequent chapter for the syntax of the Kbuild file.
        in arch/$(ARCH)/include/(uapi/)/asm, Kbuild will automatically generate
        a wrapper of the asm-generic one.
 
-       The convention is to list one subdir per line and
-       preferably in alphabetic order.
-
 8 Kbuild Variables
 ==================
 
--

2.17.1

Signature · 2 lines
Best Regards
Masahiro Yamada