diff options
-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 |