From patchwork Wed Dec 20 08:18:33 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 13499647 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 C4B701C6B8; Wed, 20 Dec 2023 08:18:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="IbYXuQdg" Received: by smtp.kernel.org (Postfix) with ESMTPSA id A3802C433C8; Wed, 20 Dec 2023 08:18:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1703060322; bh=h4av3AEKbsCjlzEe0jMEyyWsPDvGxt8dr0ELgdzdvy0=; h=From:To:Cc:Subject:Date:From; b=IbYXuQdgXi/SNUFxx4/PGxaDyb7q1iZ9mlKNVc9XmMqqcJOUkLaZdWNKK4QQhDC/P L4hp90/GlylOcKBii/m6lytMVQU8pP16N2zEnNe0n3VlBN/s2gm/qMIi1i3mDYBbr/ 7yZh3vPJIQNSvebqGR5y1KlOwD2K9Kix3VJx+QhlSGJB1OZB/uiQDVBgvx8MsNs0c2 oGTGPJiW48+BhusjLqSELBDpzAWkr6nGQ22lTavQw1oziINdEBdIrafL8hN9g8Drej AuMi1Lhx0PSomWx4hkxNwkMGYeivDWwPVMjP3yInKsaYtQpVElimPb2JXb8Qk1dXsJ nbgAGGKsmws5g== From: Masahiro Yamada To: linux-kbuild@vger.kernel.org Cc: Masahiro Yamada , Catalin Marinas , Guo Ren , Nathan Chancellor , Nick Desaulniers , Nicolas Schier , "Russell King (Oracle)" , Sven Schnelle , linux-kernel@vger.kernel.org Subject: [PATCH] kbuild: fix build ID symlinks to installed VDSO files Date: Wed, 20 Dec 2023 17:18:33 +0900 Message-Id: <20231220081833.1551600-1-masahiroy@kernel.org> X-Mailer: git-send-email 2.40.1 Precedence: bulk X-Mailing-List: linux-kbuild@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 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 --- scripts/Makefile.vdsoinst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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