kbuild: change module.order to list *.o instead of *.ko
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>
Showing
- Makefile 1 addition, 1 deletionMakefile
- scripts/Makefile.build 1 addition, 1 deletionscripts/Makefile.build
- scripts/Makefile.modfinal 3 additions, 3 deletionsscripts/Makefile.modfinal
- scripts/Makefile.modinst 1 addition, 1 deletionscripts/Makefile.modinst
- scripts/Makefile.modpost 5 additions, 2 deletionsscripts/Makefile.modpost
- scripts/clang-tools/gen_compile_commands.py 4 additions, 4 deletionsscripts/clang-tools/gen_compile_commands.py
- scripts/gen_autoksyms.sh 1 addition, 1 deletionscripts/gen_autoksyms.sh
- scripts/mod/modpost.c 4 additions, 7 deletionsscripts/mod/modpost.c
- scripts/modules-check.sh 1 addition, 1 deletionscripts/modules-check.sh
Loading
Please register or sign in to comment