summaryrefslogtreecommitdiff
path: root/Documentation/kbuild
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2019-02-14 12:05:17 +0900
committerMasahiro Yamada <yamada.masahiro@socionext.com>2019-02-20 09:42:47 +0900
commit6d3c94e4a6523d1c3b59c23fb607d18bf08ea4fc (patch)
tree44365b05808ed47a663952295d0de120cbcef4d8 /Documentation/kbuild
parent648ad9b19f43b7bc2c1a47ddd487c69364987ec9 (diff)
downloadlwn-6d3c94e4a6523d1c3b59c23fb607d18bf08ea4fc.tar.gz
lwn-6d3c94e4a6523d1c3b59c23fb607d18bf08ea4fc.zip
kbuild: turn '/' into an alias of './'
Commit 06300b21f4c7 ("kbuild: support building individual files for external modules") introduced the '/' target. It works only for external modules to build all .o files, but skip the modpost stage. However, 'make /' looks a bit weird to me. 'make ./' is more sensible if you want to build all objects under the current directory, and it works as expected. Let's change '/' into a phony target that is an alias of './', but I may feel like deprecating it in the future. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'Documentation/kbuild')
-rw-r--r--Documentation/kbuild/modules.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/kbuild/modules.txt b/Documentation/kbuild/modules.txt
index 3fb39e0116b4..80295c613e37 100644
--- a/Documentation/kbuild/modules.txt
+++ b/Documentation/kbuild/modules.txt
@@ -140,7 +140,7 @@ executed to make module versioning work.
make -C $KDIR M=$PWD bar.lst
make -C $KDIR M=$PWD baz.o
make -C $KDIR M=$PWD foo.ko
- make -C $KDIR M=$PWD /
+ make -C $KDIR M=$PWD ./
=== 3. Creating a Kbuild File for an External Module