Skip to contentSkip to conversation

From: Michael Nosthoff <[email protected]>

Buildroot Michael Nosthoff via buildroot 1 participant 1 message Nov 10, 2022

lore
Share & tools
lore
#0 lore raw

when using BR2_PER_PACKAGE_DIRECTORIES and configuring swupdate to use uboot the build fails because libubootenv is not a dependency.

Fixes:
bootloader/uboot.c:23:10: fatal error: libuboot.h: No such file or directory
23 | #include <libuboot.h>

---

v2:
- exchange "buildroot" with "uboot" in the description

observed on buildroot 2022.08.1 so I guess older version might also need the fix.
CC: Peter Korsgaard <[email protected]>

---
 package/swupdate/swupdate.mk | 4 ++++
 1 file changed, 4 insertions(+)
package/swupdate/swupdate.mk +4 -0
index bfc161d490..ed0c1e56a8 100644
@@ -81,6 +81,10 @@ else
 SWUPDATE_MAKE_ENV += HAVE_LIBGPIOD=n
 endif
 
+ifeq ($(BR2_PACKAGE_LIBUBOOTENV),y)
+SWUPDATE_DEPENDENCIES += libubootenv
+endif
+
 ifeq ($(BR2_PACKAGE_LIBURIPARSER),y)
 SWUPDATE_DEPENDENCIES += liburiparser
 SWUPDATE_MAKE_ENV += HAVE_URIPARSER=y
Signature · 6 lines
2.34.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot