From nobody Wed Apr 1 11:15:18 2026 Received: from todd.t-8ch.de (todd.t-8ch.de [159.69.126.157]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 77F03441033; Tue, 31 Mar 2026 17:50:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=159.69.126.157 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774979428; cv=none; b=C2FU7tuHRaQhyefpiaYlf52mNyj5sLBGjSLwzRVZCwRsgcldWiT7ftOugoCC9vVNv4B9gaUlZSVeaGjPCce+/72Q38Nb8/NJezfctZI0fkfj0EfJX9tyF0axbHCZbSvKciuarFkgcrb7ORqPRpzllGFXffhDQMXqjIjQEWzSGaE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774979428; c=relaxed/simple; bh=1qGq8yAZBKS8WaUYW8r+1Gpfp8oh7+Ac/xavMKYPgKg=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=T34q9c/POqZ0bd943MHhO1bYYfNmeusvxdoZT9dLmrPdVvIn9chgjx04DNFG8AtQkDLmKLQRxZ3gbcFDi61I2MJw/q4r1BvKTqQA3o4qRsyJ9mwVoQ4uT4yLThJwgUuufiEQYLtan3+eF4fSmK4sAkgrajVWeBVzUsfY4w39wYQ= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=weissschuh.net; spf=pass smtp.mailfrom=weissschuh.net; dkim=pass (1024-bit key) header.d=weissschuh.net header.i=@weissschuh.net header.b=Q2xfqREL; arc=none smtp.client-ip=159.69.126.157 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=weissschuh.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=weissschuh.net Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=weissschuh.net header.i=@weissschuh.net header.b="Q2xfqREL" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=weissschuh.net; s=mail; t=1774979424; bh=1qGq8yAZBKS8WaUYW8r+1Gpfp8oh7+Ac/xavMKYPgKg=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=Q2xfqRELnxbF4bqYslNvLQ0QzvejDyFl1fvBlQAvZ5IjgCiAfidmWn5UWnTCsalUw b1CW5XghYypZXQ4EjIbx/tPRqMUn+MaF6eUOgOJW4lzCYJVmITMuH9BdXWsmf5fPCR CSp/XkYQ4/ug4va3WP75WZLfQpflBh32Yn8pKkUM= From: =?utf-8?q?Thomas_Wei=C3=9Fschuh?= Date: Tue, 31 Mar 2026 19:50:19 +0200 Subject: [PATCH v2 1/4] kbuild: vdso_install: split out the readelf invocation Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260331-kbuild-vdso-install-v2-1-606d0dc6beca@weissschuh.net> References: <20260331-kbuild-vdso-install-v2-0-606d0dc6beca@weissschuh.net> In-Reply-To: <20260331-kbuild-vdso-install-v2-0-606d0dc6beca@weissschuh.net> To: Nathan Chancellor , Nicolas Schier Cc: linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, =?utf-8?q?Thomas_Wei=C3=9Fschuh?= X-Mailer: b4 0.15.1 X-Developer-Signature: v=1; a=ed25519-sha256; t=1774979424; l=967; i=linux@weissschuh.net; s=20221212; h=from:subject:message-id; bh=1qGq8yAZBKS8WaUYW8r+1Gpfp8oh7+Ac/xavMKYPgKg=; b=Vjq8UL4sRiUBc4lnU/060VPT5nzFYNPMKwztWpEHfihLf27+PVuiJ0eEiELjFJjZ7FPbRYg0x nEqllG2cEh3Am/9JV+Cr+WM5sjvyxea+xDdSqybROkMAFb3IIgMEmZr X-Developer-Key: i=linux@weissschuh.net; a=ed25519; pk=KcycQgFPX2wGR5azS7RhpBqedglOZVgRPfdFSPB1LNw= Split up the logic as some upcoming changes to the readelf invocation would create a very long line otherwise. Signed-off-by: Thomas Wei=C3=9Fschuh Reviewed-by: Nicolas Schier --- scripts/Makefile.vdsoinst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/Makefile.vdsoinst b/scripts/Makefile.vdsoinst index ac85f9a4a569..214c561651cf 100644 --- a/scripts/Makefile.vdsoinst +++ b/scripts/Makefile.vdsoinst @@ -21,7 +21,8 @@ $$(dest): $(1) FORCE =20 # Some architectures create .build-id symlinks ifneq ($(filter arm s390 sparc x86, $(SRCARCH)),) -link :=3D $(install-dir)/.build-id/$$(shell $(READELF) -n $(1) | sed -n 's= @^.*Build ID: \(..\)\(.*\)@\1/\2@p').debug +build-id-file :=3D $$(shell $(READELF) -n $(1) | sed -n 's@^.*Build ID: \(= ..\)\(.*\)@\1/\2@p') +link :=3D $(install-dir)/.build-id/$$(build-id-file).debug =20 __default: $$(link) $$(link): $$(dest) FORCE --=20 2.53.0