mirror of
https://git.yoctoproject.org/meta-arm
synced 2026-01-11 15:00:39 +00:00
grub and grub-efi break in do_configure() when using external-arm toolchain: | checking for aarch64-poky-linux-objcopy... no | checking for objcopy... objcopy | checking for aarch64-poky-linux-strip... no | checking for strip... strip | checking for aarch64-poky-linux-nm... no | checking for nm... nm | checking for aarch64-poky-linux-ranlib... no | checking for ranlib... ranlib ... | checking whether objcopy works for absolute addresses... configure: error: objcopy cannot create binary files That is due to external-arm toolchain's target triplet aarch64-none-linux-gnu being different from OE triplet like aarch64-poky-linux and configure script trying to use it to find binutils binaries like objcopy, falling back to host ones. Help configure script to find correct objcopy and other binaries by passing the correct target triplet with --target parameter set to EAT_TARGET_SYS, overriding the default OE one. Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Cc: Tom Rini <trini@konsulko.com> Signed-off-by: Jon Mason <jon.mason@arm.com>
2 lines
91 B
Plaintext
2 lines
91 B
Plaintext
require ${@oe.utils.conditional('TCMODE', 'external-arm', 'grub-external-arm.inc', '', d)}
|