diff options
author | Khem Raj <raj.khem@gmail.com> | 2019-09-25 14:31:10 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2019-09-25 18:00:05 -0700 |
commit | ccfdb47cc4991a393a2d2fefe8420bdef56e7318 (patch) | |
tree | 211621f5458a685bee9621532ee28c212ea69490 /conf | |
parent | 489d396fb03389f71d3216fe913b83f8952da42e (diff) | |
download | meta-clang-ccfdb47cc4991a393a2d2fefe8420bdef56e7318.tar.gz |
clang: Add variable CLANGSDK to control including clang in SDK
CLANGSDK ?= "1"
is default which means clang will be included into SDK
if one is using clang only for full build and dont intend to distribute
it as cross compiler SDK then set
CLANGSDK = ""
in local.conf or in another config metadata file
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'conf')
-rw-r--r-- | conf/layer.conf | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/conf/layer.conf b/conf/layer.conf index 531ad3a..48d98b2 100644 --- a/conf/layer.conf +++ b/conf/layer.conf | |||
@@ -22,5 +22,8 @@ PREFERRED_PROVIDER_libgcc-initial = "libgcc-initial" | |||
22 | #PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}compilerlibs_forcevariable = "libcxx" | 22 | #PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}compilerlibs_forcevariable = "libcxx" |
23 | INHERIT += "clang" | 23 | INHERIT += "clang" |
24 | 24 | ||
25 | # include clang in SDK | ||
26 | CLANGSDK ??= "1" | ||
27 | |||
25 | require conf/nonclangable.conf | 28 | require conf/nonclangable.conf |
26 | require conf/nonscanable.conf | 29 | require conf/nonscanable.conf |