summaryrefslogtreecommitdiffstats
path: root/scripts/Makefile.vdsoinst
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2023-12-20 09:18:33 +0100
committerMasahiro Yamada <masahiroy@kernel.org>2023-12-23 15:24:03 +0100
commitc1a8627164dbe8b92958aea10c7c0848105a3d7f (patch)
tree6a572b35ae117454bd8d79c4a9fc17393de3491b /scripts/Makefile.vdsoinst
parentgen_compile_commands.py: fix path resolve with symlinks in it (diff)
downloadlinux-c1a8627164dbe8b92958aea10c7c0848105a3d7f.tar.xz
linux-c1a8627164dbe8b92958aea10c7c0848105a3d7f.zip
kbuild: fix build ID symlinks to installed debug VDSO files
Commit 56769ba4b297 ("kbuild: unify vdso_install rules") accidentally dropped the '.debug' suffix from the build ID symlinks. Fixes: 56769ba4b297 ("kbuild: unify vdso_install rules") Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'scripts/Makefile.vdsoinst')
-rw-r--r--scripts/Makefile.vdsoinst2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/Makefile.vdsoinst b/scripts/Makefile.vdsoinst
index 1022d9fdd976..c477d17b0aa5 100644
--- a/scripts/Makefile.vdsoinst
+++ b/scripts/Makefile.vdsoinst
@@ -22,7 +22,7 @@ $$(dest): $$(src) FORCE
# Some architectures create .build-id symlinks
ifneq ($(filter arm sparc x86, $(SRCARCH)),)
-link := $(install-dir)/.build-id/$$(shell $(READELF) -n $$(src) | sed -n 's@^.*Build ID: \(..\)\(.*\)@\1/\2@p')
+link := $(install-dir)/.build-id/$$(shell $(READELF) -n $$(src) | sed -n 's@^.*Build ID: \(..\)\(.*\)@\1/\2@p').debug
__default: $$(link)
$$(link): $$(dest) FORCE