From 3f99053c646f02ccd9a005f489bde89c41b88b95 Mon Sep 17 00:00:00 2001 From: Naveen Saini Date: Fri, 24 Apr 2020 13:38:37 +0800 Subject: layer.conf: allow to build with zeus Class 'distro_features_check' has moved to 'features_check', which does not allow dunfell and latest releases to build against zeus release. Inherit class based on LAYERSERIES_CORENAMES. Signed-off-by: Naveen Saini Signed-off-by: Anuj Mittal --- conf/layer.conf | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'conf/layer.conf') diff --git a/conf/layer.conf b/conf/layer.conf index 0460930c..eb55b70b 100644 --- a/conf/layer.conf +++ b/conf/layer.conf @@ -18,7 +18,7 @@ LAYERRECOMMENDS_intel = "dpdk intel-qat" # This should only be incremented on significant changes that will # cause compatibility issues with other layers LAYERVERSION_intel = "5" -LAYERSERIES_COMPAT_intel = "dunfell" +LAYERSERIES_COMPAT_intel = " zeus dunfell" BBFILES_DYNAMIC += " \ clang-layer:${LAYERDIR}/dynamic-layers/clang-layer/*/*/*.bb \ @@ -44,3 +44,5 @@ PREFERRED_PROVIDER_nativesdk-libva ?= "nativesdk-libva" PREFERRED_PROVIDER_libva-utils ?= "libva-utils" PREFERRED_PROVIDER_libva-native ?= "libva-utils-native" PREFERRED_PROVIDER_nativesdk-libva-utils ?= "nativesdk-libva-utils" + +COMPAT_DISTRO_FEATURE_CHECK = "${@bb.utils.contains('LAYERSERIES_CORENAMES', 'zeus', 'distro_features_check', 'features_check', d)}" -- cgit v1.2.3-54-g00ecf