]> git.baikalelectronics.ru Git - kernel.git/commit
kbuild: revive single target %.ko
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Fri, 2 Aug 2019 10:23:58 +0000 (19:23 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Fri, 9 Aug 2019 16:40:25 +0000 (01:40 +0900)
commit9136ecabdaa8feb8477c85c42ba2532494aa9707
tree645ba10bf5d721b354965ce0d7a151ba7e33a4fb
parent98f2f03894443d3a44ddfe8334be57b6ae4f612b
kbuild: revive single target %.ko

I removed the single target %.ko in commit ffb2695ed2d2 ("kbuild:
modpost: read modules.order instead of $(MODVERDIR)/*.mod") because
the modpost stage does not work reliably. For instance, the module
dependency, modversion, etc. do not work if we lack symbol information
from the other modules.

Yet, some people still want to build only one module in their interest,
and it may be still useful if it is used within those limitations.

Fixes: ffb2695ed2d2 ("kbuild: modpost: read modules.order instead of $(MODVERDIR)/*.mod")
Reported-by: Don Brace <don.brace@microsemi.com>
Reported-by: Arend Van Spriel <arend.vanspriel@broadcom.com>
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Makefile
scripts/Makefile.modpost