Thread (5 messages) 5 messages, 3 authors, 2023-01-01

Re: [PATCH 1/2] kbuild: change module.order to list *.o instead of *.ko

From: Luis Chamberlain <mcgrof@kernel.org>
Date: 2022-12-12 20:12:37
Also in: linux-kbuild, lkml, llvm

On Sun, Dec 11, 2022 at 10:04:07PM +0900, Masahiro Yamada wrote:
scripts/Makefile.build replaces the suffix .o with .ko, then
scripts/Makefile.modpost calls the sed command to change .ko back
to the original .o suffix.

Instead of converting the suffixes back-and-forth, store the .o paths
in modules.order, and replace it with .ko in 'make modules_install'.

This avoids the unneeded sed command.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Reviewed-by: Luis Chamberlain <mcgrof@kernel.org>

  Luis
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help