x86/efi: fix build with linkers that support both coff-x86-64 and pe-x86-64
authorRoger Pau Monné <roger.pau@citrix.com>
Fri, 19 Jan 2018 10:16:58 +0000 (11:16 +0100)
committerJan Beulich <jbeulich@suse.com>
Fri, 19 Jan 2018 10:16:58 +0000 (11:16 +0100)
commit48a933ee590e2fdfa240484ebda4f76096277d7e
tree5d5c0b44d8861672f03b4f6010d5ab2b9a675e08
parent97207ddd3b2bbbf6e723d8c5f2a93592a1cf5d81
x86/efi: fix build with linkers that support both coff-x86-64 and pe-x86-64

When using a linker that supports both formats the following error
will be triggered:

efi/buildid.o: file not recognized: File format is ambiguous
efi/buildid.o: matching formats: coff-x86-64 pe-x86-64

Solve this by specifying the efi/buildid.o format to pe-x86-64.

Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Doug Goldstein <cardoe@cardoe.com>
xen/arch/x86/Makefile