diff options
| author | Ard Biesheuvel <ardb@kernel.org> | 2025-03-11 12:06:18 +0100 |
|---|---|---|
| committer | Masahiro Yamada <masahiroy@kernel.org> | 2025-03-17 00:29:45 +0900 |
| commit | e22bbb8e97846bfb5a6942a2322f0237ff13df0f (patch) | |
| tree | c0658072a84018738b8c4235fa18dc7b39f30705 /scripts/Makefile.vmlinux | |
| parent | kbuild: do not generate .tmp_vmlinux*.map when CONFIG_VMLINUX_MAP=y (diff) | |
| download | linux-e22bbb8e97846bfb5a6942a2322f0237ff13df0f.tar.gz linux-e22bbb8e97846bfb5a6942a2322f0237ff13df0f.zip | |
kbuild: link-vmlinux.sh: Make output file name configurable
In order to introduce an intermediate, non-stripped vmlinux build that
can be used by other build steps as an input, pass the output file name
to link-vmlinux.sh via its command line.
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'scripts/Makefile.vmlinux')
| -rw-r--r-- | scripts/Makefile.vmlinux | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/Makefile.vmlinux b/scripts/Makefile.vmlinux index fb79fd6b2465..487f0bf716ad 100644 --- a/scripts/Makefile.vmlinux +++ b/scripts/Makefile.vmlinux @@ -69,7 +69,7 @@ ARCH_POSTLINK := $(wildcard $(srctree)/arch/$(SRCARCH)/Makefile.postlink) # Final link of vmlinux with optional arch pass after final link cmd_link_vmlinux = \ - $< "$(LD)" "$(KBUILD_LDFLAGS)" "$(LDFLAGS_vmlinux)"; \ + $< "$(LD)" "$(KBUILD_LDFLAGS)" "$(LDFLAGS_vmlinux)" "$@"; \ $(if $(ARCH_POSTLINK), $(MAKE) -f $(ARCH_POSTLINK) $@, true) targets += vmlinux |
