summaryrefslogtreecommitdiffstats
path: root/conf/layer.conf
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2019-08-06 23:57:09 +0100
committerAnuj Mittal <anuj.mittal@intel.com>2019-08-07 07:58:50 +0800
commitcfb0931f972dde22e941ad62984cea1b4b8d1885 (patch)
tree93086606e516f0db86e136ff3814c39a628b1d33 /conf/layer.conf
parent28261bb7e587d2a2ac6ad7437fbfc06da680b33b (diff)
downloadmeta-intel-cfb0931f972dde22e941ad62984cea1b4b8d1885.tar.gz
layer.conf: add default PREFERRED_PROVIDERS for zlib
This layer adds zlib-intel, which PROVIDES zlib. If meta-intel is added to a build but a meta-intel MACHINE isn't used then bitbake will warn that there are multiple candidates for zlib: NOTE: Multiple providers are available for zlib-native (zlib-native, zlib-intel-native) Consider defining a PREFERRED_PROVIDER entry to match zlib-native NOTE: Multiple providers are available for zlib (zlib, zlib-intel) Consider defining a PREFERRED_PROVIDER entry to match zlib Silence these warnings by adding PREFERRED_PROVIDER defaults in layer.conf. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Diffstat (limited to 'conf/layer.conf')
-rw-r--r--conf/layer.conf4
1 files changed, 4 insertions, 0 deletions
diff --git a/conf/layer.conf b/conf/layer.conf
index 0db08957..e5bd2189 100644
--- a/conf/layer.conf
+++ b/conf/layer.conf
@@ -31,3 +31,7 @@ BBFILES_DYNAMIC += " \
31" 31"
32 32
33require ${LAYERDIR}/conf/include/maintainers.inc 33require ${LAYERDIR}/conf/include/maintainers.inc
34
35PREFERRED_PROVIDER_zlib ?= "zlib"
36PREFERRED_PROVIDER_zlib-native ?= "zlib-native"
37PREFERRED_PROVIDER_nativesdk-zlib ?= "nativesdk-zlib"