scripts: build-qemu: Support Tianocore on ARM
When ARM is selected, use the ARM Tianocore image. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -112,7 +112,10 @@ class BuildQemu:
|
||||
|
||||
bios_override = None
|
||||
if args.use_tianocore:
|
||||
bios_override = Path(self.tiano, 'OVMF-pure-efi.x64.fd')
|
||||
if args.arch == 'arm':
|
||||
bios_override = Path(self.tiano, 'OVMF-pure-efi.aarch64.fd.64m')
|
||||
else:
|
||||
bios_override = Path(self.tiano, 'OVMF-pure-efi.x64.fd')
|
||||
if not bios_override.exists():
|
||||
tout.fatal(
|
||||
'Error: Tianocore BIOS specified (-E) but not found at '
|
||||
|
||||
Reference in New Issue
Block a user