Skip to content

Commit

Permalink
kbuild: two minor updates for Documentation/kbuild/modules.rst
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Masahiro Yamada committed Oct 5, 2019
1 parent 7a82e3f commit 4349670
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Documentation/kbuild/modules.rst
Original file line number Diff line number Diff line change
Expand Up @@ -502,7 +502,7 @@ build.
----------------------------------------

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.

Expand All @@ -522,7 +522,7 @@ build.
The top-level kbuild file would then look like::

#./Kbuild (or ./Makefile):
obj-y := foo/ bar/
obj-m := foo/ bar/

And executing::

Expand Down

0 comments on commit 4349670

Please sign in to comment.