Skip to content

Latest commit

 

History

History
51 lines (38 loc) · 1.29 KB

README.md

File metadata and controls

51 lines (38 loc) · 1.29 KB

meta-tc-llvm

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

Status

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.

Installation

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.

Usage

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.

Contact