]> git.ipfire.org Git - thirdparty/systemd.git/commit
boot: Bring back bootloader builds
authorJan Janssen <medhefgo@web.de>
Mon, 27 Feb 2023 15:54:48 +0000 (16:54 +0100)
committerJan Janssen <medhefgo@web.de>
Fri, 10 Mar 2023 10:41:08 +0000 (11:41 +0100)
commit2afeaf1675a6a68636be493a9461e72ce067db19
tree671ea8c8c90db518a516f00e19da08b4a43b046d
parentdfca5587cf2032f9ad06041b93b0da5cb39b9989
boot: Bring back bootloader builds

This adds back sd-boot builds by using meson compile targets directly.
We can do this now, because userspace binaries use the special
dependency that allows us to easily separate flags, so that we don't
pass anything to EFI builds that shouldn't be passed.

Additionally, we pass a bunch of flags to hopefully disable/override any
distro provided flags that should not be used for EFI binaries.

Fixes: #12275
README
meson.build
src/boot/efi/boot.c
src/boot/efi/efi-string.h
src/boot/efi/meson.build
src/boot/efi/stub.c
src/boot/efi/util.h
src/fundamental/sbat.h
tools/elf2efi.lds [new file with mode: 0644]
tools/elf2efi.py [new file with mode: 0755]