]> git.itanic.dy.fi Git - linux-stable/commitdiff
kbuild: fix build ID symlinks to installed debug VDSO files
authorMasahiro Yamada <masahiroy@kernel.org>
Wed, 20 Dec 2023 08:18:33 +0000 (17:18 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Sat, 23 Dec 2023 14:24:03 +0000 (23:24 +0900)
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>
scripts/Makefile.vdsoinst

index 1022d9fdd976d8614702ff75291dbd724eff45f5..c477d17b0aa5b786ee9c16864706bc722c8c019d 100644 (file)
@@ -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