2022.05.12-19:32:26 bitbake-populate_sdk|Exception: FileNotFoundError: [Errno
2] No such file or directory:
'/opt/build/000000000000-0512.1128/tmp/deploy/images/zynqmp-generic/download-zynqmp-generic.bit'

DEPENDS isn't sufficent here. If you are not using BB_SCHEDULER set to 
"completion", as is
default for rm_work, something that depends on a DEPEND can start after 
populate_sysroot.
However xilinx-bootbin depends on the completion of do_deploy.

Signed-off-by: Jeremy A. Puhlman <[email protected]>
---
 meta-xilinx-core/recipes-bsp/bootbin/xilinx-bootbin_1.0.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta-xilinx-core/recipes-bsp/bootbin/xilinx-bootbin_1.0.bb 
b/meta-xilinx-core/recipes-bsp/bootbin/xilinx-bootbin_1.0.bb
index f914675e..9f24372e 100644
--- a/meta-xilinx-core/recipes-bsp/bootbin/xilinx-bootbin_1.0.bb
+++ b/meta-xilinx-core/recipes-bsp/bootbin/xilinx-bootbin_1.0.bb
@@ -16,6 +16,8 @@ DEPENDS += "bootgen-native"
 # There is no bitstream recipe, so really depend on virtual/bitstream
 DEPENDS += "${@(d.getVar('BIF_PARTITION_ATTR') or "").replace('bitstream', 
'virtual/bitstream')}"
 
+do_build[depends] += "${@bb.utils.contains('DEPENDS', 'bitstream', 
'virtual/bitstream:do_deploy', '', d)}"
+
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
 BIF_FILE_PATH ?= "${B}/bootgen.bif"
-- 
2.35.3

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

Reply via email to