summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2014-09-11 17:25:28 -0700
committerKhem Raj <raj.khem@gmail.com>2014-09-11 17:25:28 -0700
commit7d75cff3a28f9635efd6a85af0a374cb41538f58 (patch)
tree228078ef151eb305a8851a4415d13e8e3c4507a4 /README.md
downloadmeta-clang-7d75cff3a28f9635efd6a85af0a374cb41538f58.tar.gz
Intial commit
Add clang recipes Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'README.md')
-rw-r--r--README.md71
1 files changed, 71 insertions, 0 deletions
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..8b9961b
--- /dev/null
+++ b/README.md
@@ -0,0 +1,71 @@
1# meta-clang (a C language family frontend and LLVM compiler backend)
2
3This layer provides [clang/llvm](http://clang.llvm.org/) as alternative to your system
4C/C++ compiler for OpenEmbedded based distributions along with gcc
5
6# Getting Started
7
8```shell
9git clone git://github.com/openembedded/openembedded-core.git
10cd openembeeded-core
11git clone git://github.com/openembedded/bitbake.git
12git clone git://github.com/kraj/meta-clang.git
13
14$ . ./oe-init-build-env
15```
16
17Edit conf/bblayers.conf to add meta-musl to layer mix e.g.
18
19```python
20BBLAYERS ?= " \
21 /home/kraj/openembedded-core/meta-clang \
22 /home/kraj/openembedded-core/meta \
23 "
24```
25
26# Building
27
28Below we build for qemuarm machine as an example
29
30```shell
31$ MACHINE=qemuarm bitbake core-image-minimal
32```
33# Running
34
35```shell
36$ runqemu qemuarm
37```
38
39# Limitations
40
41Currently core-image-minimal is buildable/bootable for ARM, x86, x86_64
42based qemu machines
43MACHINE variable and TCLIBC variables can also be set in conf/local.conf to avoid typing it on commandline on any bitbake invocation
44
45
46# Dependencies
47
48```
49URI: git://github.com/openembedded/openembedded-core.git
50branch: master
51revision: HEAD
52
53URI: git://github.com/openembedded/bitbake.git
54branch: master
55revision: HEAD
56```
57
58Send pull requests to openembedded-devel@lists.openembedded.org with '[meta-clang]' in the subject'
59
60When sending single patches, please use something like:
61
62'git send-email -M -1 --to openembedded-devel@lists.openembedded.org --subject-prefix=meta-clang][PATCH'
63
64You are encouraged to fork the mirror on [github](https://github.com/kraj/meta-clang/)
65to share your patches, this is preferred for patch sets consisting of more than
66one patch. Other services like gitorious, repo.or.cz or self hosted setups are
67of course accepted as well, 'git fetch <remote>' works the same on all of them.
68We recommend github because it is free, easy to use, has been proven to be reliable
69and has a really good web GUI.
70
71Layer Maintainer: Khem Raj <raj.khem@gmail.com>