]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
kbuild: vdso_install: drop build ID architecture allow-list
authorThomas Weißschuh <linux@weissschuh.net>
Tue, 31 Mar 2026 17:50:22 +0000 (19:50 +0200)
committerNicolas Schier <nsc@kernel.org>
Thu, 2 Apr 2026 15:50:40 +0000 (17:50 +0200)
Many architectures which do generate build IDs are missing from this
list. For example arm64, riscv, loongarch, mips.

Now that errors from readelf and binaries without any build ID are
handled gracefully, the allow-list is not necessary anymore, drop it.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Reviewed-by: Nicolas Schier <nsc@kernel.org>
Reviewed-by: Nathan Chancellor <nathan@kernel.org>
Link: https://patch.msgid.link/20260331-kbuild-vdso-install-v2-4-606d0dc6beca@weissschuh.net
Signed-off-by: Nicolas Schier <nsc@kernel.org>
scripts/Makefile.vdsoinst

index 3de70218b8d487841347f8b3a555cb4e5393a5c4..d9f7243217bcd881f703ce665d30974fc92f020e 100644 (file)
@@ -19,8 +19,6 @@ __default: $$(dest)
 $$(dest): $(1) FORCE
        $$(call cmd,install)
 
-# Some architectures create .build-id symlinks
-ifneq ($(filter arm s390 sparc x86, $(SRCARCH)),)
 build-id-file := $$(shell $(READELF) -n $(1) 2>/dev/null | sed -n 's@^.*Build ID: \(..\)\(.*\)@\1/\2@p')
 
 ifneq ($$(build-id-file),)
@@ -30,7 +28,6 @@ __default: $$(link)
 $$(link): $$(dest) FORCE
        $$(call cmd,symlink)
 endif
-endif
 
 endef