meta-clang
meta-clang copied to clipboard
How to build u-boot, opensbi and linux with clang
I have removed u-boot, opensbi from conf/nonclangable.conf but still its building from GCC is there any way to build u-boot, opensbi and linux with clang
Desktop (please complete the following information):
- OS: ubuntu 20.4
- Yocto version - honister
Their recipes have TOOLCHAIN variable set to gcc you have to remove that and then see if it works
you can also try
bitbake -e opensbi > /tmp/log.1
and inspect log.1 for TOOLCHAIN variable, it should show you where it is being set for this recipe