by default disable ICCSDK.

Signed-off-by: Naveen Saini <[email protected]>
---
 conf/layer.conf                                                | 3 +++
 .../packagegroup-core-standalone-sdk-target.bbappend           | 2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/conf/layer.conf b/conf/layer.conf
index 77baa827..8e444108 100644
--- a/conf/layer.conf
+++ b/conf/layer.conf
@@ -41,3 +41,6 @@ PREFERRED_PROVIDER_nativesdk-libva ?= "nativesdk-libva"
 PREFERRED_PROVIDER_libva-utils ?= "libva-utils"
 PREFERRED_PROVIDER_libva-utils-native ?= "libva-utils-native"
 PREFERRED_PROVIDER_nativesdk-libva-utils ?= "nativesdk-libva-utils"
+
+# Do not include icc in SDK unless user wants to
+ICCSDK ??= "0"
diff --git 
a/recipes-core/packagegroups/packagegroup-core-standalone-sdk-target.bbappend 
b/recipes-core/packagegroups/packagegroup-core-standalone-sdk-target.bbappend
index b2dd25b7..329a9244 100644
--- 
a/recipes-core/packagegroups/packagegroup-core-standalone-sdk-target.bbappend
+++ 
b/recipes-core/packagegroups/packagegroup-core-standalone-sdk-target.bbappend
@@ -1,2 +1,2 @@
 INTEL_COMPILER_COMMON_PKGS = "intel-oneapi-runtime-compilers 
intel-oneapi-runtime-compilers-staticdev intel-oneapi-runtime-compilers-dev"
-RRECOMMENDS:${PN} += "${@bb.utils.contains('ICCSDK', '1', ' 
${INTEL_COMPILER_COMMON_PKGS} intel-oneapi-compiler-classic ', '', d)}"
+RRECOMMENDS:${PN}:append:intel-x86-common = "${@bb.utils.contains('ICCSDK', 
'1', ' ${INTEL_COMPILER_COMMON_PKGS} intel-oneapi-compiler-classic', '', d)}"
-- 
2.37.3

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#7698): 
https://lists.yoctoproject.org/g/meta-intel/message/7698
Mute This Topic: https://lists.yoctoproject.org/mt/94445531/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-intel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to