boot/efi: install ELF linux.elf.stub in addition to PE linux.efi.stub
authorDimitri John Ledkov <xnox@ubuntu.com>
Tue, 4 May 2021 17:03:04 +0000 (18:03 +0100)
committerDimitri John Ledkov <xnox@ubuntu.com>
Mon, 10 May 2021 08:35:59 +0000 (09:35 +0100)
commit7840d7af221944adaa9560ee749d4681106d3586
tree708a572aa41ddb9ffd24f7b26c3ca53134f28edd
parent67f7244928ef5d8df96712a0f7a6ec79415dbf3d
boot/efi: install ELF linux.elf.stub in addition to PE linux.efi.stub

Binutils for non-x86 architectures currently does not support PE binaries. Thus
linux.efi.stub is useless on those, as one cannot use any tooling to add
linux/cmdline/splash sections to it. In addition to PE linux.efi.stub also
install ELF linux.elf.stub, such that one can use objcopy ELF target to copy in
linux/cmdline/splash sections and then convert the result to a PE binary.
src/boot/efi/meson.build