Add clang to SDK

I would like use meta-clang GitHub - kraj/meta-clang: Clang C/C++ cross compiler and runtime for OpenEmbedded/Yocto Project

Where (which bb) add clang to build cross compiler for SDK ?

git clone GitHub - kraj/meta-clang: Clang C/C++ cross compiler and runtime for OpenEmbedded/Yocto Project -b kirkstone
bitbake-layers add-layer …/meta-clang
… ADD clang to SDK ?
$ bitbake -c populate_sdk

I want to install the SDK , and have clang for cross-compile to imx8x platform

Hello @MariusM ,
Did you add CLANGSDK = "1" in local.conf?

Best regards,
Josep

1 Like

Thanks, I didn’t read carefully, my fault

No problem, glad that it helped :slight_smile:

Best regards,
Josep