From ccfdb47cc4991a393a2d2fefe8420bdef56e7318 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Wed, 25 Sep 2019 14:31:10 -0700 Subject: 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 --- conf/layer.conf | 3 +++ 1 file changed, 3 insertions(+) (limited to 'conf/layer.conf') 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" #PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}compilerlibs_forcevariable = "libcxx" INHERIT += "clang" +# include clang in SDK +CLANGSDK ??= "1" + require conf/nonclangable.conf require conf/nonscanable.conf -- cgit v1.2.3-54-g00ecf