Skip to content

Commit

Permalink
Add check for TianoCore EDK2 firmware for ARMv7
Browse files Browse the repository at this point in the history
There's now TianoCore EDK2 firmwares for ARMv7 so add a check to
see if they're available in preparation of building UEFI enabled
ARMv7 images.

Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
  • Loading branch information
nullr0ute authored and clalancette committed Mar 16, 2019
1 parent 331ade7 commit 289bf36
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions oz/ozutil.py
Expand Up @@ -1061,6 +1061,9 @@ def exists(self):
'/usr/share/edk2/aarch64/vars-template-pflash.raw'),
UEFI('/usr/share/edk2.git/aarch64/QEMU_EFI-pflash.raw',
'/usr/share/edk2.git/aarch64/vars-template-pflash.raw')]
elif arch in ['armv7l']:
uefi_list = [UEFI('/usr/share/edk2/arm/QEMU_EFI-pflash.raw',
'/usr/share/edk2/arm/vars-template-pflash.raw')]
else:
raise Exception("Invalid arch for UEFI firmware")

Expand Down

0 comments on commit 289bf36

Please sign in to comment.