x86/EFI: sanitize build logic
authorJan Beulich <jbeulich@suse.com>
Fri, 7 Aug 2020 11:32:11 +0000 (13:32 +0200)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 7 Aug 2020 16:30:58 +0000 (17:30 +0100)
commit90c7eee53fcc0b48bd51aa3a7d1d0d9980ce1a7a
treebe8b9a028eeaefc702e7c3083fda220dae22b100
parent16dcc135e89663628ee2eaf2d02991fc9ce954bf
x86/EFI: sanitize build logic

With changes done over time and as far as linking goes, the only special
thing about building with EFI support enabled is the need for the dummy
relocations object for xen.gz uniformly in all build stages. All other
efi/*.o can be consumed from the built_in*.o files.

In efi/Makefile, besides moving relocs-dummy.o to "extra", also properly
split between obj-y and obj-bin-y.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/Makefile
xen/arch/x86/efi/Makefile