From 540a295df8f71c3d19de25e4a914e2b635cd9032 Mon Sep 17 00:00:00 2001 From: Christopher Larson Date: Fri, 20 May 2022 21:02:50 -0700 Subject: [PATCH] systemd-boot: apply fix for ccache.bbclass compat from @lumag Fixes #200 Signed-off-by: Christopher Larson --- core/recipes-bsp/systemd-boot/systemd-boot_%.bbappend | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/recipes-bsp/systemd-boot/systemd-boot_%.bbappend b/core/recipes-bsp/systemd-boot/systemd-boot_%.bbappend index dbeb9c3..83249c2 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}'"