Commit 43496709 authored by Masahiro Yamada's avatar Masahiro Yamada

kbuild: two minor updates for Documentation/kbuild/modules.rst

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: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
parent 7a82e3fa
...@@ -502,7 +502,7 @@ build. ...@@ -502,7 +502,7 @@ build.
---------------------------------------- ----------------------------------------
Sometimes, an external module uses exported symbols from 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 all symbols to avoid spitting out warnings about undefined
symbols. Three solutions exist for this situation. symbols. Three solutions exist for this situation.
...@@ -522,7 +522,7 @@ build. ...@@ -522,7 +522,7 @@ build.
The top-level kbuild file would then look like:: The top-level kbuild file would then look like::
#./Kbuild (or ./Makefile): #./Kbuild (or ./Makefile):
obj-y := foo/ bar/ obj-m := foo/ bar/
And executing:: And executing::
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment