u-boot%.bbappend: pyelftools for rk3399
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.
Signed-off-by Leon Anavi <[email protected]>
--- recipes-bsp/u-boot/u-boot%.bbappend | 2 ++ 1 file changed, 2 insertions(+)
recipes-bsp/u-boot/u-boot%.bbappend +2 -0
@@ -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
Hi Leon,
Thanks for the patch!
Quoted 2 lines · Leon Anavi
Machines from
SOC_FAMILYrk3399 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!