From 8aaf23c3f5cfcba28d75ee098483393273338d8b Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sat, 22 Aug 2015 12:23:00 -0700 Subject: Update README.md --- README.md | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 51a18e8..2d6c923 100644 --- a/README.md +++ b/README.md @@ -28,25 +28,30 @@ BBLAYERS ?= " \ Below we build for qemuarm machine as an example ```shell -$ MACHINE=qemuarm bitbake core-image-minimal +$ MACHINE=qemux86 bitbake core-image-minimal ``` # Running ```shell -$ runqemu qemuarm +$ runqemu qemux86 ``` # Limitations -Currently only few components are building with clang if you want to port/add more then please add +Currently only few components do not build with clang, if you have a component to add to that list +simply create a bbappend under recipes-excluded/nonclangable e.g. + ```shell -TOOLCHAIN_pn- = "clang" -DEPENDS_append_pn- = " clang-cross-${TARGET_ARCH} " +TOOLCHAIN = "gcc" ``` -to clang.conf +and OE will start using gcc to cross compile that recipe, please note that by default when meta-clang is in layermix +it will use clang as default system compiler, if you would like to disable that behaviour please add -and OE will start using clang to cross compile that recipe +```shell +TOOLCHAIN = "gcc" +``` +to your local.conf or some other global configuration metadata file. # Dependencies -- cgit v1.2.3-54-g00ecf