Use TOOLCHAIN variable instead of directly inheriting the class.
Signed-off-by: Pawel Zalewski pzalewski@thegoodpenguin.co.uk --- meta-morello/recipes-bsp/uefi/edk2-firmware_%.bbappend | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/meta-morello/recipes-bsp/uefi/edk2-firmware_%.bbappend b/meta-morello/recipes-bsp/uefi/edk2-firmware_%.bbappend index c561c0d..f7d9241 100644 --- a/meta-morello/recipes-bsp/uefi/edk2-firmware_%.bbappend +++ b/meta-morello/recipes-bsp/uefi/edk2-firmware_%.bbappend @@ -1,10 +1,12 @@ -inherit python3native llvm-morello-native +inherit python3native
COMPATIBLE_MACHINE = "morello" SUMMARY = "EDK2 to be compiled with LLVM Morello" OUTPUTS_NAME = "uefi" SECTION = "firmware"
+TOOLCHAIN = "${MORELLO_TOOLCHAIN}" + MACHINE_EDK2_REQUIRE ?= "" MACHINE_EDK2_REQUIRE:morello-fvp = "edk2-firmware-morello-fvp.inc" MACHINE_EDK2_REQUIRE:morello-soc = "edk2-firmware-morello-soc.inc"