This is currently a work-in-progress. It will need refinement overtime. This work is based on earlier work by Mark Hatle hosted at this wiki page: Adding a secondary toolchain
Able to build all the packages for core-image-minimal
except the following:
- linux-yocto-tiny
- dtc
- elfutils
- gcc
- gcc-cross
- gcc-cross-initial
- gcc-runtime
- prelink
- eglibc
- rpm
- libgcc
- e2fsprogs
Some of the packages that do build require patches either from upstream or the ones added by me to my poky repository.
Clone this repository into your poky directory.
git clone https://github.com/mtahmed/poky.git
cd poky
git clone https://github.com/mtahmed/meta-tc-llvm.git
Then build clang and install to poky/meta-tc-llvm
directory so that the
poky/meta-tc-llvm/bin/
has the llvm+clang binaries and poky/meta-tc-llvm/lib
has the llvm+clang libraries.
After the source oe-init-build-env build-dir
, change bblayers.conf file
to include the meta-tc-llvm
layer and change the other conf/local.conf
file
as needed.
- Muhammad Tauqir Ahmad
- [email protected]
- csclub.uwaterloo.ca/~mtahmed