diff --git a/core/recipes-bsp/systemd-boot/systemd-boot_%.bbappend b/core/recipes-bsp/systemd-boot/systemd-boot_%.bbappend index b956ae9..1f0ddc4 100644 --- a/core/recipes-bsp/systemd-boot/systemd-boot_%.bbappend +++ b/core/recipes-bsp/systemd-boot/systemd-boot_%.bbappend @@ -3,5 +3,5 @@ # external toolchain. EFI_TUNE_ARCH = "-m32" EFI_TUNE_ARCH:x86-64 = "-m64" -EFI_CC:tcmode-external = "${@'${CC}'.split()[0]} ${EFI_TUNE_ARCH}" +EFI_CC:tcmode-external = "${CCACHE}${HOST_PREFIX}gcc ${EFI_TUNE_ARCH}" EXTRA_OECONF:append:tcmode-external = " 'EFI_CC=${EFI_CC}'"