summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2015-08-22 12:23:00 -0700
committerKhem Raj <raj.khem@gmail.com>2015-08-22 12:23:00 -0700
commit8aaf23c3f5cfcba28d75ee098483393273338d8b (patch)
treeda930fd0b01456c53c86e6f1f59ae176ded9f234 /README.md
parentc4ae42363ecbaa506ce66d1f025382572281b511 (diff)
downloadmeta-clang-8aaf23c3f5cfcba28d75ee098483393273338d8b.tar.gz
Update README.md
Diffstat (limited to 'README.md')
-rw-r--r--README.md19
1 files 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 ?= " \
28Below we build for qemuarm machine as an example 28Below we build for qemuarm machine as an example
29 29
30```shell 30```shell
31$ MACHINE=qemuarm bitbake core-image-minimal 31$ MACHINE=qemux86 bitbake core-image-minimal
32``` 32```
33# Running 33# Running
34 34
35```shell 35```shell
36$ runqemu qemuarm 36$ runqemu qemux86
37``` 37```
38 38
39# Limitations 39# Limitations
40 40
41Currently only few components are building with clang if you want to port/add more then please add 41Currently only few components do not build with clang, if you have a component to add to that list
42simply create a bbappend under recipes-excluded/nonclangable e.g.
43
42```shell 44```shell
43TOOLCHAIN_pn-<recipe-name> = "clang" 45TOOLCHAIN = "gcc"
44DEPENDS_append_pn-<recipe-name> = " clang-cross-${TARGET_ARCH} "
45``` 46```
46 47
47to clang.conf 48and OE will start using gcc to cross compile that recipe, please note that by default when meta-clang is in layermix
49it will use clang as default system compiler, if you would like to disable that behaviour please add
48 50
49and OE will start using clang to cross compile that recipe 51```shell
52TOOLCHAIN = "gcc"
53```
54to your local.conf or some other global configuration metadata file.
50 55
51# Dependencies 56# Dependencies
52 57