summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2019-09-25 14:37:46 -0700
committerKhem Raj <raj.khem@gmail.com>2019-09-25 18:00:05 -0700
commitf281ae2887cad78129266a9e697352b13c5e11da (patch)
treea5d466b9ab246e3374913eae332c96d018c67da1 /README.md
parentccfdb47cc4991a393a2d2fefe8420bdef56e7318 (diff)
downloadmeta-clang-f281ae2887cad78129266a9e697352b13c5e11da.tar.gz
README: Document CLANGSDK
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'README.md')
-rw-r--r--README.md10
1 files changed, 10 insertions, 0 deletions
diff --git a/README.md b/README.md
index f150c96..51c22cd 100644
--- a/README.md
+++ b/README.md
@@ -67,6 +67,16 @@ TARGET_CXXFLAGS_remove_toolchain-clang = " --stdlib=libc++"
67TUNE_CCARGS_remove_toolchain-clang = " --rtlib=compiler-rt --unwindlib=libunwind --stdlib=libc++" 67TUNE_CCARGS_remove_toolchain-clang = " --rtlib=compiler-rt --unwindlib=libunwind --stdlib=libc++"
68``` 68```
69 69
70# Removing clang from generated SDK toolchain
71
72clang based cross compiler is automatically included into the generated SDK using `bitbake meta-toolchain` or
73`bitbake -cpopulate_sdk <image>` in circumstanced where clang is not expected to be part of SDK, then reset `CLANGSDK`
74variable in `local.conf`
75
76```shell
77CLANGSDK = ""
78```
79
70# Building 80# Building
71 81
72Below we build for qemuarm machine as an example 82Below we build for qemuarm machine as an example