]> xenbits.xensource.com Git - people/sstabellini/xen-unstable.git/.git/commit
x86/EFI: sanitize build logic
authorJan Beulich <jbeulich@suse.com>
Tue, 25 Aug 2020 15:43:52 +0000 (17:43 +0200)
committerJan Beulich <jbeulich@suse.com>
Tue, 25 Aug 2020 15:43:52 +0000 (17:43 +0200)
commitde94e8b4f996517182f627300a0f8a709472c635
tree3f36d7b73f0d2983c843299183ab22a9439ab7fc
parent347384331ee0eee22a4dc10f805847e658e523ac
x86/EFI: sanitize build logic

With changes done over time and as far as linking goes, the only special
things about building with EFI support enabled are
- the need for the dummy relocations object (for xen.gz uniformly in all
  build stages, for xen.efi in stage 1),
- the special efi/buildid.o file, which can't be made part of
  efi/built_in.o, due to the extra linker options required for it.
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