diff options
| author | Thomas Weißschuh <linux@weissschuh.net> | 2026-03-31 19:50:19 +0200 |
|---|---|---|
| committer | Nicolas Schier <nsc@kernel.org> | 2026-04-02 17:50:25 +0200 |
| commit | efa13f43c550e612c78e5dba7d776a6d5d5fed9f (patch) | |
| tree | 20b48d07abb092bea229699488c83e6df8ea95ed /scripts | |
| parent | dcc99abebfa1e9ca70f8af8695b6682ad7597bf2 (diff) | |
| download | linux-efa13f43c550e612c78e5dba7d776a6d5d5fed9f.tar.gz linux-efa13f43c550e612c78e5dba7d776a6d5d5fed9f.zip | |
kbuild: vdso_install: split out the readelf invocation
Split up the logic as some upcoming changes to the readelf invocation
would create a very long line otherwise.
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-1-606d0dc6beca@weissschuh.net
Signed-off-by: Nicolas Schier <nsc@kernel.org>
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/Makefile.vdsoinst | 3 |
1 files changed, 2 insertions, 1 deletions
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 # Some architectures create .build-id symlinks ifneq ($(filter arm s390 sparc x86, $(SRCARCH)),) -link := $(install-dir)/.build-id/$$(shell $(READELF) -n $(1) | sed -n 's@^.*Build ID: \(..\)\(.*\)@\1/\2@p').debug +build-id-file := $$(shell $(READELF) -n $(1) | sed -n 's@^.*Build ID: \(..\)\(.*\)@\1/\2@p') +link := $(install-dir)/.build-id/$$(build-id-file).debug __default: $$(link) $$(link): $$(dest) FORCE |
