The issue can be reproduced with:
$ bitbake u-boot-tools-xlnx -c compile -f --skip-setscene

The swig is needed on the native sysroot:
| error: command 'swig' failed: No such file or directory

The util-linux-libuuid is needed on target sysroot:
| 
.../1_v2023.01-xilinx-v2023.1+gitAUTOINC+0c2f5b2994-r0/git/tools/mkeficapsule.c:18:10:
 fatal error: 'uuid/uuid.h' file not found

The gnutls is needed on target sysroot:
| 
.../1_v2023.01-xilinx-v2023.1+gitAUTOINC+0c2f5b2994-r0/git/tools/mkeficapsule.c:21:10:
 fatal error: 'gnutls/gnutls.h' file not found

Signed-off-by: Jose Quaresma <[email protected]>
---
 meta-xilinx-core/recipes-bsp/u-boot/u-boot-tools-xlnx_2023.1.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta-xilinx-core/recipes-bsp/u-boot/u-boot-tools-xlnx_2023.1.bb 
b/meta-xilinx-core/recipes-bsp/u-boot/u-boot-tools-xlnx_2023.1.bb
index fe5ecf79..beabd36b 100644
--- a/meta-xilinx-core/recipes-bsp/u-boot/u-boot-tools-xlnx_2023.1.bb
+++ b/meta-xilinx-core/recipes-bsp/u-boot/u-boot-tools-xlnx_2023.1.bb
@@ -1,6 +1,8 @@
 require u-boot-tools-xlnx.inc
 require u-boot-xlnx-2023.1.inc
 
+DEPENDS += "swig-native util-linux-libuuid gnutls"
+
 # MUST clear CONFIG_VIDEO to avoid a compilation failure trying to construct
 # bmp_logo.h
 SED_CONFIG_EFI:append = ' -e "s/CONFIG_VIDEO=.*/# CONFIG_VIDEO is not set/"'
-- 
2.34.1

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

Reply via email to