diff options
author | Emil Renner Berthing <systemd@esmil.dk> | 2021-04-22 09:33:51 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2021-04-22 14:37:25 +0200 |
commit | a00ff2e1b596f0d08d32b8ca9cefe8aca1212604 (patch) | |
tree | 34ae504ea58f6a4719dd1954ff6764e5276c8ee5 /src/boot/efi/meson.build | |
parent | dissect-image: prefer PARTN= uevent property over "partition" sysfs attr (diff) | |
download | systemd-a00ff2e1b596f0d08d32b8ca9cefe8aca1212604.tar.xz systemd-a00ff2e1b596f0d08d32b8ca9cefe8aca1212604.zip |
boot/efi: compile on riscv64
This makes systemd-boot compile against the latest gnu-efi which
just added support for riscv64.
Diffstat (limited to '')
-rw-r--r-- | src/boot/efi/meson.build | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/boot/efi/meson.build b/src/boot/efi/meson.build index 2a37b0a9ac..574feedb98 100644 --- a/src/boot/efi/meson.build +++ b/src/boot/efi/meson.build @@ -190,9 +190,9 @@ if have_gnu_efi '-znocombreloc', '-L', efi_libdir, efi_crt0] - if efi_arch == 'aarch64' or efi_arch == 'arm' - # Aarch64 and ARM32 don't have an EFI capable objcopy. Use 'binary' - # instead, and add required symbols manually. + if efi_arch == 'aarch64' or efi_arch == 'arm' or efi_arch == 'riscv64' + # Aarch64, ARM32 and 64bit RISC-V don't have an EFI capable objcopy. + # Use 'binary' instead, and add required symbols manually. efi_ldflags += ['--defsym=EFI_SUBSYSTEM=0xa'] efi_format = ['-O', 'binary'] else |