Files
meta-external-toolchain/core/recipes-bsp/systemd-boot/systemd-boot_%.bbappend
Christopher Larson e97c0316a1 systemd-boot: apply fix for ccache.bbclass compat from @lumag
Fixes #200

Signed-off-by: Christopher Larson <kergoth@gmail.com>
2022-05-20 21:06:20 -07:00

8 lines
356 B
Plaintext

# Ensure -m32/-m64 are passed for EFI, as the buildsystem currently relies on
# the default for the toolchain, which isn't necessarily correct for an
# external toolchain.
EFI_TUNE_ARCH = "-m32"
EFI_TUNE_ARCH:x86-64 = "-m64"
EFI_CC:tcmode-external = "${CCACHE}${HOST_PREFIX}gcc ${EFI_TUNE_ARCH}"
EXTRA_OECONF:append:tcmode-external = " 'EFI_CC=${EFI_CC}'"