kbuild: change scripts/mksysmap into sed script

The previous commit removed the subshell execution from scripts/mksysmap,
which is now simple enough to become a sed script.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
This commit is contained in:
Masahiro Yamada
2024-05-20 21:42:10 +09:00
parent 04b8cb0945
commit b18b047002
2 changed files with 7 additions and 14 deletions

View File

@@ -193,7 +193,7 @@ kallsyms_step()
mksysmap()
{
info NM ${2}
${CONFIG_SHELL} "${srctree}/scripts/mksysmap" ${1} ${2}
${NM} -n "${1}" | "${srctree}/scripts/mksysmap" > "${2}"
}
sorttable()