Skip to contentSkip to conversation

kbuild: fix build ID symlinks to installed VDSO files

PATCH New Masahiro Yamada 1 participant 1 message Dec 20, 2023 Kbuild

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 kbuild: fix build ID symlinks to installed 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")

---

 scripts/Makefile.vdsoinst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
scripts/Makefile.vdsoinst +1 -1
index 1022d9fdd976..c477d17b0aa5 100644
@@ -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
Signature · 1 line
2.40.1