]> xenbits.xensource.com Git - people/hx242/xen.git/commit
x86: fix race to build arch/x86/efi/relocs-dummy.o
authorAnthony PERARD <anthony.perard@citrix.com>
Fri, 15 Nov 2019 13:18:16 +0000 (14:18 +0100)
committerJan Beulich <jbeulich@suse.com>
Fri, 15 Nov 2019 13:18:16 +0000 (14:18 +0100)
commit65d104984c04e69234f77bd3b8f8c0ef85b3f7fa
tree443f4aaae04b7e49bd15ceac768d02bd7058970d
parentf06d11d5a8339bb5a525069fdffdb45ca811d6f8
x86: fix race to build arch/x86/efi/relocs-dummy.o

With $(TARGET).efi depending on efi/relocs-dummy.o, arch/x86/Makefile
will attempt to build that object. This may result in a dependency file
being generated that has relocs-dummy.o depending on efi/relocs-dummy.S.

Then, when arch/x86/efi/Makefile tries to build relocs-dummy.o, well
efi/relocs-dummy.S doesn't exist.

Have only one makefile responsible for building relocs-dummy.o.

Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
Release-acked-by: Juergen Gross <jgross@suse.com>
xen/arch/x86/Makefile