diff options
author | Haseeb Ashraf <haseeb.ashraf@siemens.com> | 2025-01-25 10:41:18 +0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-01-27 15:47:09 +0000 |
commit | 6573c70f8bce32dde514df657f93d40b5d49c166 (patch) | |
tree | 53bc3b46900ed1602c4d143b580cff26ca2216bd /scripts/lib/devtool/runqemu.py | |
parent | e72d641a9988976ca9144ca3fd8f9a9988d3bdc5 (diff) | |
download | poky-6573c70f8bce32dde514df657f93d40b5d49c166.tar.gz |
llvm: set LLVM_HOST_TRIPLE for cross-compilation
The correct way to configure cmake for cross-compilation includes
setting the LLVM_HOST_TRIPLE as well.
Documentation Ref:
https://github.com/llvm/llvm-project/blob/llvmorg-19.1.6/llvm/docs/HowToCrossCompileLLVM.rst#configuring-cmake
This fixes bug when LLVM is cross-compiled for AAarch64 but it
was getting built with the triple of native build system instead of
the TARGET_SYS (aarch64-oe-linux) in my case.
`No available targets are compatible with triple "x86_64-unknown-linux-gnu"`
(From OE-Core rev: 19f649f47352f7e12508abd88a862e95979d152d)
Signed-off-by: Haseeb Ashraf <haseeb.ashraf@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/devtool/runqemu.py')
0 files changed, 0 insertions, 0 deletions