Skip to content

Commit 4349670

Browse files
committed
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: Masahiro Yamada <[email protected]>
1 parent 7a82e3f commit 4349670

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Documentation/kbuild/modules.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -502,7 +502,7 @@ build.
502502
----------------------------------------
503503

504504
Sometimes, an external module uses exported symbols from
505-
another external module. kbuild needs to have full knowledge of
505+
another external module. Kbuild needs to have full knowledge of
506506
all symbols to avoid spitting out warnings about undefined
507507
symbols. Three solutions exist for this situation.
508508

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

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

527527
And executing::
528528

0 commit comments

Comments
 (0)