]> git.baikalelectronics.ru Git - kernel.git/commit
kbuild: turn '/' into an alias of './'
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Thu, 14 Feb 2019 03:05:17 +0000 (12:05 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Wed, 20 Feb 2019 00:42:47 +0000 (09:42 +0900)
commitd96c1e86f78ca08bf0b084a3f1dd66b7008abdc5
tree44365b05808ed47a663952295d0de120cbcef4d8
parentc5f0a394d4a43e0e12775aa9cde9e71b4ca6a517
kbuild: turn '/' into an alias of './'

Commit 0189337b283c ("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>
Documentation/kbuild/modules.txt
Makefile