summaryrefslogtreecommitdiffstats
path: root/scripts/link-vmlinux.sh
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2024-05-20 14:42:10 +0200
committerMasahiro Yamada <masahiroy@kernel.org>2024-05-29 09:40:03 +0200
commitb18b047002b7d3b19d9fb905c1bd2a214016c153 (patch)
tree94e2250d7553c8beae7413a07cb4a40a16d4a6d9 /scripts/link-vmlinux.sh
parentkbuild: avoid unneeded kallsyms step 3 (diff)
downloadlinux-b18b047002b7d3b19d9fb905c1bd2a214016c153.tar.xz
linux-b18b047002b7d3b19d9fb905c1bd2a214016c153.zip
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>
Diffstat (limited to 'scripts/link-vmlinux.sh')
-rwxr-xr-xscripts/link-vmlinux.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/link-vmlinux.sh b/scripts/link-vmlinux.sh
index b0d39a927fbc..c22a213ea6a9 100755
--- a/scripts/link-vmlinux.sh
+++ b/scripts/link-vmlinux.sh
@@ -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()