Makefile: fix (again) EFI part of "symbols: Generate an xen-sym.map
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Mon, 10 Oct 2016 18:10:56 +0000 (11:10 -0700)
committerStefano Stabellini <sstabellini@kernel.org>
Mon, 10 Oct 2016 18:10:56 +0000 (11:10 -0700)
commit68dc7185cbffab34211c77339874f2ea517990fd
treefd93ef232370c09e61cb4d37e2380b1d9003c8b6
parent0a9d8a57e1f9024459e613e831905d28ef72051a
Makefile: fix (again) EFI part of "symbols: Generate an xen-sym.map

This is a follow-up to commit d14fffcc6a7c054db9e337026a3c850152244ac4
"fix EFI part of "symbols: Generate an xen-sym.map" which fixed most of
the issues.

However we still have an issue - The file being installed (xen.efi.map)
does not exist in an ARM64 build (the xen.efi is linked againts xen).

The fix can be done two ways:
 a) See if xen.efi.map exists and then copy it
 b) Or link xen.efi.map to xen-syms.map (similar to how xen.efi is linked
    against xen).

The patch chooses the former.

Reported-by: Jan Beulich <JBeulich@suse.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Signed-off-by: Stefano Stabellini <sstabellini@kernel.org>
Acked-by: Stefano Stabellini <sstabellini@kernel.org>
xen/Makefile