diff options
| author | Masahiro Yamada <[email protected]> | 2022-05-28 15:47:04 +0000 |
|---|---|---|
| committer | Masahiro Yamada <[email protected]> | 2022-06-04 21:20:57 +0000 |
| commit | b42d2306502419688190aa6dd4dab4a6def24b3d (patch) | |
| tree | 89a23a22dc7f90aacedb20c60f53723dd72ea562 /scripts/mod/file2alias.c | |
| parent | kbuild: move vmlinux.o link to scripts/Makefile.vmlinux_o (diff) | |
| download | kernel-b42d2306502419688190aa6dd4dab4a6def24b3d.tar.gz kernel-b42d2306502419688190aa6dd4dab4a6def24b3d.zip | |
kbuild: factor out the common objtool arguments
scripts/Makefile.build and scripts/link-vmlinux.sh have similar setups
for the objtool arguments.
It was difficult to factor out them because all the vmlinux build rules
were written in a shell script. It is somewhat tedious to touch the two
files every time a new objtool option is supported.
To reduce the code duplication, move the objtool for vmlinux.o into
scripts/Makefile.vmlinux_o. Then, move the common macros to Makefile.lib
so they are shared between Makefile.build and Makefile.vmlinux_o.
Signed-off-by: Masahiro Yamada <[email protected]>
Tested-by: Sedat Dilek <[email protected]> # LLVM-14 (x86-64)
Diffstat (limited to 'scripts/mod/file2alias.c')
0 files changed, 0 insertions, 0 deletions
