mirror of
https://git.yoctoproject.org/meta-arm
synced 2026-07-17 04:07:18 +00:00
arm-bsp/edk2-firmware: enable building EDK2 for Juno
This doesn't build successfully with Clang, so for now the build forces the use of GCC. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Jon Mason <jon.mason@arm.com>
This commit is contained in:
@@ -0,0 +1,10 @@
|
|||||||
|
EDK2_PLATFORM = "ArmJuno"
|
||||||
|
EDK2_PLATFORM_DSC = "Platform/ARM/JunoPkg/ArmJuno.dsc"
|
||||||
|
EDK2_BIN_NAME = "BL33_AP_UEFI.fd"
|
||||||
|
|
||||||
|
COMPATIBLE_MACHINE = "juno"
|
||||||
|
|
||||||
|
# As of 2022-01-10 the Juno build fails with Clang:
|
||||||
|
# edk2-firmware/202111-r0/edk2/edk2-platforms/Platform/ARM/Library/ArmShellCmdRunAxf/RunAxf.c:216:11:
|
||||||
|
# error: variable 'FileSize' is used uninitialized whenever 'if' condition is false [-Werror,-Wsometimes-uninitialized]
|
||||||
|
TOOLCHAIN = "gcc"
|
||||||
@@ -3,6 +3,7 @@
|
|||||||
MACHINE_EDK2_REQUIRE ?= ""
|
MACHINE_EDK2_REQUIRE ?= ""
|
||||||
|
|
||||||
MACHINE_EDK2_REQUIRE:fvp-base = "edk2-firmware-fvp-base.inc"
|
MACHINE_EDK2_REQUIRE:fvp-base = "edk2-firmware-fvp-base.inc"
|
||||||
|
MACHINE_EDK2_REQUIRE:juno = "edk2-firmware-juno.inc"
|
||||||
MACHINE_EDK2_REQUIRE:sgi575 = "edk2-firmware-sgi575.inc"
|
MACHINE_EDK2_REQUIRE:sgi575 = "edk2-firmware-sgi575.inc"
|
||||||
MACHINE_EDK2_REQUIRE:n1sdp = "edk2-firmware-n1sdp.inc"
|
MACHINE_EDK2_REQUIRE:n1sdp = "edk2-firmware-n1sdp.inc"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user