mirror of
https://github.com/thead-yocto-mirror/meta-external-toolchain
synced 2026-09-16 12:13:08 +02:00
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. Signed-off-by: Christopher Larson <chris_larson@mentor.com>
8 lines
313 B
Plaintext
8 lines
313 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 = "${@'${CC}'.split()[0]} ${EFI_TUNE_ARCH}"
|
|
EXTRA_OECONF += "'EFI_CC=${EFI_CC}'"
|