linux/arch/x86/boot
Benjamin Segall b2747f108b x86/boot: Don't add the EFI stub to targets, again
This is a re-commit of

  da05b143a3 ("x86/boot: Don't add the EFI stub to targets")

after the tagged patch incorrectly reverted it.

vmlinux-objs-y is added to targets, with an assumption that they are all
relative to $(obj); adding a $(objtree)/drivers/...  path causes the
build to incorrectly create a useless
arch/x86/boot/compressed/drivers/...  directory tree.

Fix this just by using a different make variable for the EFI stub.

Fixes: cb8bda8ad4 ("x86/boot/compressed: Rename efi_thunk_64.S to efi-mixed.S")
Signed-off-by: Ben Segall <bsegall@google.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Reviewed-by: Ard Biesheuvel <ardb@kernel.org>
Cc: stable@vger.kernel.org # v6.1+
Link: https://lore.kernel.org/r/xm267ceukksz.fsf@bsegall.svl.corp.google.com
2024-06-13 10:32:36 +02:00
..
compressed x86/boot: Don't add the EFI stub to targets, again 2024-06-13 10:32:36 +02:00
tools x86/boot: Increase section and file alignment to 4k/512 2023-09-17 19:48:44 +02:00
.gitignore
a20.c
apm.c
bioscall.S
bitops.h
boot.h
cmdline.c
copy.S
cpu.c
cpucheck.c
cpuflags.c
cpuflags.h
ctype.h
early_serial_console.c
edd.c
genimage.sh
header.S efi/x86: Set the PE/COFF header's NX compat flag unconditionally 2024-02-28 14:23:55 +01:00
install.sh
io.h
main.c x86/asm: Use %c/%n instead of %P operand modifier in asm templates 2024-03-19 13:15:35 +01:00
Makefile Miscellaneous fixes: 2024-05-19 11:42:29 -07:00
memory.c
mkcpustr.c
msr.h
mtools.conf.in
pm.c x86/asm: Always set A (accessed) flag in GDT descriptors 2023-12-20 10:57:51 +01:00
pmjump.S
printf.c x86/boot: Address clang -Wimplicit-fallthrough in vsprintf() 2024-05-17 09:22:56 +02:00
regs.c
setup.ld x86/efistub: Use 1:1 file:memory mapping for PE/COFF .compat section 2024-02-05 10:24:51 +00:00
string.c x86/boot: Remove redundant initialization of the 'delta' variable in strcmp() 2023-12-20 22:23:33 +01:00
string.h
tty.c
version.c
vesa.h
video-bios.c
video-mode.c
video-vesa.c
video-vga.c
video.c
video.h