summaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2019-09-25 14:31:10 -0700
committerKhem Raj <raj.khem@gmail.com>2019-09-25 18:00:05 -0700
commitccfdb47cc4991a393a2d2fefe8420bdef56e7318 (patch)
tree211621f5458a685bee9621532ee28c212ea69490 /conf
parent489d396fb03389f71d3216fe913b83f8952da42e (diff)
downloadmeta-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.conf3
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"
23INHERIT += "clang" 23INHERIT += "clang"
24 24
25# include clang in SDK
26CLANGSDK ??= "1"
27
25require conf/nonclangable.conf 28require conf/nonclangable.conf
26require conf/nonscanable.conf 29require conf/nonscanable.conf