mirror of
https://github.com/thead-yocto-mirror/meta-external-toolchain
synced 2026-09-06 16:04:40 +02:00
Merge pull request #166 from kergoth/sb-8487
systemd-boot: fix build issue on x86_64
This commit is contained in:
7
recipes-bsp/systemd-boot/systemd-boot_232.bbappend
Normal file
7
recipes-bsp/systemd-boot/systemd-boot_232.bbappend
Normal file
@@ -0,0 +1,7 @@
|
||||
# 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}'"
|
||||
Reference in New Issue
Block a user