Search notes:

scripts/link-vmlinux.sh

scripts/link-vmlinux.sh links Linux's subsystems into vmlinux (see function vmlinux_link in the script.)

Functions

vmlinux_link Links vmlinux
gen_btf Generate .BTF typeinfo from DWARF debuginfo. See also kernel/bpf/sysfs_btf.c and here.
kallsyms Create an .S file with all symbols from a given object file. Calls scripts/kallsyms (see also kallsyms)
kallsyms_step Perform one step in kallsyms generation, including temporary linking of vmlinux.
mksysmap Creates the System.map file. Calls scripts/mksysmap
sorttable Calls source/sorttable
cleanup Deletes output files in case of errors
info Prints informational messages

See also

link-vmlinux.sh calls scripts/mksysmap.
scripts/
Documentation/kbuild/makefiles.rst

Index