[Buildroot] [PATCH 1/1] configs/avenger96_defconfig: fix CI build error due to a missing package for uboot

marleen.vos at essensium.com marleen.vos at essensium.com
Tue May 14 10:12:44 UTC 2024


From: Marleen Vos <marleen.vos at mind.be>

This refers to https://gitlab.com/buildroot.org/buildroot/-/jobs/6813124907
The build error referenced in that link is:

error: command 'swig' failed: No such file or directory
make[4]: *** [scripts/dtc/pylibfdt/Makefile:33: rebuild] Error 1
make[3]: *** [scripts/Makefile.build:397: scripts/dtc/pylibfdt] Error 2
make[2]: *** [Makefile:2014: scripts_dtc] Error 2
make[1]: *** [package/pkg-generic.mk:283: /builds/buildroot.org/buildroot/output/build/uboot-2024.01/.stamp_built] Error 2
make: *** [Makefile:82: _all] Error 2

BR2_TARGET_UBOOT_NEEDS_PYLIBFDT is added to the avenger96_defconfig in order to resolve the issue

Signed-off-by: Marleen Vos <marleen.vos at mind.be>
---
 configs/avenger96_defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/configs/avenger96_defconfig b/configs/avenger96_defconfig
index f73b654dc8..64cfb3c2b0 100644
--- a/configs/avenger96_defconfig
+++ b/configs/avenger96_defconfig
@@ -47,6 +47,7 @@ BR2_TARGET_UBOOT_FORMAT_DTB=y
 BR2_TARGET_UBOOT_FORMAT_CUSTOM=y
 BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot-nodtb.bin"
 BR2_TARGET_UBOOT_CUSTOM_MAKEOPTS="DEVICE_TREE=stm32mp15xx-dhcor-avenger96"
+BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y
 
 # Additional tools
 BR2_PACKAGE_HOST_GENIMAGE=y
-- 
2.34.1




More information about the buildroot mailing list