diff options
author | Khem Raj <raj.khem@gmail.com> | 2019-09-25 14:37:46 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2019-09-25 18:00:05 -0700 |
commit | f281ae2887cad78129266a9e697352b13c5e11da (patch) | |
tree | a5d466b9ab246e3374913eae332c96d018c67da1 | |
parent | ccfdb47cc4991a393a2d2fefe8420bdef56e7318 (diff) | |
download | meta-clang-f281ae2887cad78129266a9e697352b13c5e11da.tar.gz |
README: Document CLANGSDK
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r-- | README.md | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -67,6 +67,16 @@ TARGET_CXXFLAGS_remove_toolchain-clang = " --stdlib=libc++" | |||
67 | TUNE_CCARGS_remove_toolchain-clang = " --rtlib=compiler-rt --unwindlib=libunwind --stdlib=libc++" | 67 | TUNE_CCARGS_remove_toolchain-clang = " --rtlib=compiler-rt --unwindlib=libunwind --stdlib=libc++" |
68 | ``` | 68 | ``` |
69 | 69 | ||
70 | # Removing clang from generated SDK toolchain | ||
71 | |||
72 | clang 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` | ||
74 | variable in `local.conf` | ||
75 | |||
76 | ```shell | ||
77 | CLANGSDK = "" | ||
78 | ``` | ||
79 | |||
70 | # Building | 80 | # Building |
71 | 81 | ||
72 | Below we build for qemuarm machine as an example | 82 | Below we build for qemuarm machine as an example |