Skip to contentSkip to conversation

u-boot%.bbappend: pyelftools for rk3399

PATCH In review Leon Anavi 2 participants 2 messages May 10, 2023 – May 19, 2023

lore
Share & tools
lore

Leon Anavi

author
#0 lore raw

PATCH 1/1 u-boot%.bbappend: pyelftools for rk3399

Machines from SOC_FAMILY rk3399 require pyelftools Python3 library for parsing dtb files so it should be added to DEPENDS.

---
 recipes-bsp/u-boot/u-boot%.bbappend | 2 ++
 1 file changed, 2 insertions(+)
recipes-bsp/u-boot/u-boot%.bbappend +2 -0
index b7c6b49..e41f61f 100644
@@ -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 ??= ""
 
Signature · 1 line
2.30.2
#1 lore raw

Hi Leon,

Thanks for the patch!

Quoted 2 lines · Leon Anavi

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!