Re: Yocto standard SDK/cmake/ and meta-clang build issue


Mikko Rapeli
 

Hi,

On Mon, Aug 24, 2020 at 02:38:54PM +0000, Monsees, Steven C (US) via lists.yoctoproject.org wrote:

I am having trouble with configuring my SDK for meta-clang...

When I build my SDK, I setup the following:

SDKMACHINE = "x86_64"
SDKIMAGE_FEATURES_append = " staticdev-pkgs"
TOOLCHAIN_HOST_TASK_append = "${SDK_EXTRA_TOOLS}"
SDK_EXTRA_TOOLS = " \
nativesdk-cmake \
nativesdk-clang \
I was wondering on same thing few days ago.

nativesdk-clang and clang-cross-canadian-aarch64 if your target arch is aarch64
bring a working clang compiler to the SDK.

I was also missing the clang-cross bit for a long time and scratching my
head.

Hope this helps,

-Mikko

Join yocto@lists.yoctoproject.org to automatically receive all group messages.