From: Quanyang Wang <[email protected]>

There are layer dependencies as below:
opencv (in meta-xilinx-bsp) depends on libeigen (in meta-openembedded/meta-oe)
python3-pynq (in meta-xilinx-pynq) depends on python3-cffi (in 
meta-openembedded/meta-python)

We need explicitly add these relevant layers to LAYERDEPENDS, or else the script
yocto-check-layer will report the error:

ERROR: Nothing PROVIDES 'libeigen' (but 
layers/meta-xilinx/meta-xilinx-bsp/recipes-support/opencv/opencv_3.4.3.bb 
DEPENDS on or otherwise requires it). Close matches:
libevent
libice
ERROR: Required build target 'meta-world-pkgdata' has no buildable providers.

Signed-off-by: Quanyang Wang <[email protected]>
---
 meta-xilinx-bsp/conf/layer.conf  | 1 +
 meta-xilinx-pynq/conf/layer.conf | 1 +
 2 files changed, 2 insertions(+)

diff --git a/meta-xilinx-bsp/conf/layer.conf b/meta-xilinx-bsp/conf/layer.conf
index e69e7d1..909aadb 100644
--- a/meta-xilinx-bsp/conf/layer.conf
+++ b/meta-xilinx-bsp/conf/layer.conf
@@ -10,6 +10,7 @@ BBFILE_PATTERN_xilinx = "^${LAYERDIR}/"
 BBFILE_PRIORITY_xilinx = "5"
 
 LAYERDEPENDS_xilinx = "core"
+LAYERDEPENDS_xilinx += "openembedded-layer"
 
 LAYERSERIES_COMPAT_xilinx = "dunfell gatesgarth"
 
diff --git a/meta-xilinx-pynq/conf/layer.conf b/meta-xilinx-pynq/conf/layer.conf
index 0168bb4..5711dcb 100644
--- a/meta-xilinx-pynq/conf/layer.conf
+++ b/meta-xilinx-pynq/conf/layer.conf
@@ -10,6 +10,7 @@ BBFILE_PATTERN_xilinx-pynq = "^${LAYERDIR}/"
 BBFILE_PRIORITY_xilinx-pynq = "5"
 
 LAYERDEPENDS_xilinx-pynq = "core xilinx"
+LAYERDEPENDS_xilinx-pynq += "meta-python"
 
 LAYERSERIES_COMPAT_xilinx-pynq = "dunfell gatesgarth"
 
-- 
2.17.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#4717): 
https://lists.yoctoproject.org/g/meta-xilinx/message/4717
Mute This Topic: https://lists.yoctoproject.org/mt/75472889/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-xilinx/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to