mirror of
https://github.com/xemu-project/xemu.git
synced 2025-04-02 11:11:48 -04:00
Added loongarch UEFI BIOS support to compiled scripts. UEFI code images require 16M alignment, flash images require 16M alignment, under the loongarch architecture.This is agreed upon when the firmware is loaded in QEMU under Loongarch. The naming of UEFI under loongarch refers to the x86 and arm naming methods, and the UEFI image names in x86 and arm are: edk2-i386-code.fd edk2-i386-vars.fd edk2-arm-code.fd edk2-arm-vars.fd So on loongarch, we named it: edk2-loongarch64-code.fd edk2-loongarch64-vars.fd Signed-off-by: Xianglai Li <lixianglai@loongson.cn> Message-ID: <20240724022245.1317884-1-lixianglai@loongson.cn> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
17 lines
535 B
Meson
17 lines
535 B
Meson
if unpack_edk2_blobs and get_option('install_blobs')
|
|
foreach f: [
|
|
'50-edk2-i386-secure.json',
|
|
'50-edk2-x86_64-secure.json',
|
|
'60-edk2-aarch64.json',
|
|
'60-edk2-arm.json',
|
|
'60-edk2-i386.json',
|
|
'60-edk2-x86_64.json',
|
|
'60-edk2-loongarch64.json'
|
|
]
|
|
configure_file(input: files(f),
|
|
output: f,
|
|
configuration: {'DATADIR': get_option('prefix') / qemu_datadir},
|
|
install: true,
|
|
install_dir: qemu_datadir / 'firmware')
|
|
endforeach
|
|
endif
|