diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2023-12-20 11:18:33 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-06-12 12:12:33 +0300 |
commit | 07423c9b43751a45dbd295eee5c99bdb238a6daf (patch) | |
tree | b4d6adf3c327b9a4d3bba8b94d5e4a8ce078ced5 /scripts/Makefile.vdsoinst | |
parent | adacfc6dec4c456f48461c571878247546dbd327 (diff) | |
download | linux-07423c9b43751a45dbd295eee5c99bdb238a6daf.tar.xz |
kbuild: fix build ID symlinks to installed debug VDSO files
[ Upstream commit c1a8627164dbe8b92958aea10c7c0848105a3d7f ]
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>
Stable-dep-of: fc2f5f10f9bc ("s390/vdso: Create .build-id links for unstripped vdso files")
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'scripts/Makefile.vdsoinst')
-rw-r--r-- | scripts/Makefile.vdsoinst | 2 |
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 |