Re: [PATCH] arch/x86/boot: Don't add the EFI stub to targets

2020-07-15 Thread Masahiro Yamada
On Wed, Jul 15, 2020 at 12:26 PM Arvind Sankar wrote: > > vmlinux-objs-y is added to targets, which currently means that the EFI > stub gets added to the targets as well. It shouldn't be added since it > is built elsewhere. > > This confuses Makefile.build which interprets the EFI stub as a target

Re: [PATCH] arch/x86/boot: Don't add the EFI stub to targets

2020-07-14 Thread Ard Biesheuvel
On Wed, 15 Jul 2020 at 06:26, Arvind Sankar wrote: > > vmlinux-objs-y is added to targets, which currently means that the EFI > stub gets added to the targets as well. It shouldn't be added since it > is built elsewhere. > > This confuses Makefile.build which interprets the EFI stub as a target >

[PATCH] arch/x86/boot: Don't add the EFI stub to targets

2020-07-14 Thread Arvind Sankar
vmlinux-objs-y is added to targets, which currently means that the EFI stub gets added to the targets as well. It shouldn't be added since it is built elsewhere. This confuses Makefile.build which interprets the EFI stub as a target $(obj)/$(objtree)/drivers/firmware/efi/libstub/lib.a and