From: Masahiro Yamada Date: Thu, 3 Oct 2019 10:29:12 +0000 (+0900) Subject: kbuild: two minor updates for Documentation/kbuild/modules.rst X-Git-Tag: v5.15~5354^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=43496709f166aeb87ac0bdcc6f7bb2bedafb17c9;p=platform%2Fkernel%2Flinux-starfive.git 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 --- diff --git a/Documentation/kbuild/modules.rst b/Documentation/kbuild/modules.rst index 33a1712..774a998 100644 --- a/Documentation/kbuild/modules.rst +++ b/Documentation/kbuild/modules.rst @@ -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. @@ -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::