linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/4] kbuild: two minor updates for Documentation/kbuild/modules.rst
@ 2019-10-03 10:29 Masahiro Yamada
  2019-10-03 10:29 ` [PATCH 2/4] modpost: do not parse vmlinux for external module builds Masahiro Yamada
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Masahiro Yamada @ 2019-10-03 10:29 UTC (permalink / raw)
  To: linux-kbuild
  Cc: Sam Ravnborg, Masahiro Yamada, Jonathan Corbet, Michal Marek,
	linux-doc, linux-kernel

Capitalize the first word in the sentence.

Use obj-m instead of obj-y. obj-y still works, but we have no built-in
objects in external module builds. So, obj-m is better IMHO.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
---

 Documentation/kbuild/modules.rst | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Documentation/kbuild/modules.rst b/Documentation/kbuild/modules.rst
index d2ae799237fd..dd1d2a0688e8 100644
--- a/Documentation/kbuild/modules.rst
+++ b/Documentation/kbuild/modules.rst
@@ -501,7 +501,7 @@ build.
 --- 6.3 Symbols From Another External Module
 
 	Sometimes, an external module uses exported symbols from
-	another external module. kbuild needs to have full knowledge of
+	another external module. Kbuild needs to have full knowledge of
 	all symbols to avoid spitting out warnings about undefined
 	symbols. Three solutions exist for this situation.
 
@@ -521,7 +521,7 @@ build.
 		The top-level kbuild file would then look like::
 
 			#./Kbuild (or ./Makefile):
-				obj-y := foo/ bar/
+				obj-m := foo/ bar/
 
 		And executing::
 
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2019-11-04 18:47 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-03 10:29 [PATCH 1/4] kbuild: two minor updates for Documentation/kbuild/modules.rst Masahiro Yamada
2019-10-03 10:29 ` [PATCH 2/4] modpost: do not parse vmlinux for external module builds Masahiro Yamada
2019-10-03 10:29 ` [PATCH 3/4] kbuild: do not read $(KBUILD_EXTMOD)/Module.symvers Masahiro Yamada
2019-10-03 10:29 ` [PATCH 4/4] modpost: do not set ->preloaded for symbols from Module.symvers Masahiro Yamada
2019-10-31 16:51   ` Jeff Moyer
2019-11-01  1:13     ` Masahiro Yamada
2019-11-01 18:52       ` Jeff Moyer
2019-11-04  3:11         ` Masahiro Yamada
2019-11-04  6:43           ` Dan Williams
2019-11-04 18:47             ` Dan Williams

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).