x86/boot: Don't add the EFI stub to targets
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
and will create drivers/firmware/efi/libstub/ underneath
arch/x86/boot/compressed, to hold this supposed target, if building
Fix this by pulling the stub out of vmlinux-objs-y into efi-obj-y.
 See scripts/Makefile.build near the end:
# Create directories for object files if they do not exist
Signed-off-by: Arvind Sankar <email@example.com>
Signed-off-by: Thomas Gleixner <firstname.lastname@example.org>
Reviewed-by: Masahiro Yamada <email@example.com>
Acked-by: Ard Biesheuvel <firstname.lastname@example.org>
1 file changed