diff mbox series

[meta-rockchip] u-boot%.bbappend: pyelftools for rk3399

Message ID 20230510161332.1818549-1-leon.anavi@konsulko.com
State New
Headers show
Series [meta-rockchip] u-boot%.bbappend: pyelftools for rk3399 | expand

Commit Message

Leon Anavi May 10, 2023, 4:13 p.m. UTC
Machines from SOC_FAMILY rk3399 require pyelftools Python3 library
for parsing dtb files so it should be added to DEPENDS.

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
---
 recipes-bsp/u-boot/u-boot%.bbappend | 2 ++
 1 file changed, 2 insertions(+)

Comments

Trevor Woerner May 19, 2023, 12:36 p.m. UTC | #1
Hi Leon,

Thanks for the patch!

On Wed 2023-05-10 @ 07:13:32 PM, Leon Anavi wrote:
> Machines from SOC_FAMILY rk3399 require pyelftools Python3 library
> for parsing dtb files so it should be added to DEPENDS.

Other machines also need this patch, specifically the rk3328 ones. I tweaked
your patch to add the DEPENDS for all (it doesn't hurt the ones that don't
need it) and have applied it.

Thanks!
diff mbox series

Patch

diff --git a/recipes-bsp/u-boot/u-boot%.bbappend b/recipes-bsp/u-boot/u-boot%.bbappend
index b7c6b49..e41f61f 100644
--- a/recipes-bsp/u-boot/u-boot%.bbappend
+++ b/recipes-bsp/u-boot/u-boot%.bbappend
@@ -6,6 +6,8 @@  do_compile:append:rock2-square () {
 }
 
 DEPENDS:append:rock-pi-4 = " gnutls-native"
+# SOC_FAMILY rk3399 requires pyelftools library for parsing dtb files
+DEPENDS:append:rk3399 = " python3-pyelftools-native"
 
 ATF_DEPENDS ??= ""