shim: allow building of just the shim with build-ID-incapable linker
authorJan Beulich <jbeulich@suse.com>
Tue, 20 Feb 2018 09:10:59 +0000 (10:10 +0100)
committerJan Beulich <jbeulich@suse.com>
Tue, 20 Feb 2018 09:10:59 +0000 (10:10 +0100)
commit682b13c259e531f6848f535032c256ec8fcaca71
tree041252f3f9bfebb4507be32341eb64932b775d6b
parent8f9ccfe93570ecae18d9cc224931787d0bca9c66
shim: allow building of just the shim with build-ID-incapable linker

The ELF note the shim build inserts causes mkelf32 to choke on the
second program header. However, the output of mkelf32 isn't really
needed when building inside tools/firmware/ - an attempt to build it is
made solely because of a wrong dependency.

Further changes to the make logic will be needed to also allow building
a shim-enabled "normal" xen with such a linker (as it looks the --notes
option will need passing not just when the linker support build ID
generation).

Also drop a stray variable setting from the x86 Makefile.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Roger Pau Monné <roger.pau@citrix.com>
Reviewed-by: Wei Liu <wei.liu2@citrix.com>
xen/Makefile
xen/arch/x86/Makefile