From 31ffb6b183bafb4c005ba86bf10f961e07e42e0c Mon Sep 17 00:00:00 2001 From: Jan Janssen Date: Tue, 28 Feb 2023 18:05:18 +0100 Subject: boot: Add RISCV32 and LoongArch support This is completely untested, but should work in theory, as it's just adding a couple defines according to the specs. --- meson.build | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'meson.build') diff --git a/meson.build b/meson.build index cde0c88e48..b1521e5937 100644 --- a/meson.build +++ b/meson.build @@ -1960,11 +1960,14 @@ python_39 = python.language_version().version_compare('>=3.9') ##################################################################### efi_arch = { - 'aarch64' : 'aa64', - 'arm' : 'arm', - 'riscv64' : 'riscv64', - 'x86_64' : 'x64', - 'x86' : 'ia32', + 'aarch64' : 'aa64', + 'arm' : 'arm', + 'loongarch32' : 'loongarch32', + 'loongarch64' : 'loongarch64', + 'riscv32' : 'riscv32', + 'riscv64' : 'riscv64', + 'x86_64' : 'x64', + 'x86' : 'ia32', }.get(host_machine.cpu_family(), '') if get_option('bootloader') != 'false' and efi_arch != '' -- cgit v1.2.1