From: Michael Nosthoff via buildroot <buildroot@buildroot.org>
To: buildroot@buildroot.org
Cc: Mon@osuosl.org,
1b4dd3f794a9c04fa4f963db7ac145986efffc4e@osuosl.org,
17@osuosl.org, "Jörg Krause" <joerg.krause@embedded.rocks>,
rom@osuosl.org, 2001@osuosl.org, Sep@osuosl.org,
"00:00:00"@osuosl.org
Subject: [Buildroot] From: Michael Nosthoff <buildroot@heine.tech>
Date: Thu, 10 Nov 2022 11:16:21 +0100 [thread overview]
Message-ID: <20221110101621.181532-1-buildroot@heine.tech> (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>
Signed-off-by: Michael Nosthoff <buildroot@heine.tech>
---
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 <peter@korsgaard.com>
---
package/swupdate/swupdate.mk | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/package/swupdate/swupdate.mk b/package/swupdate/swupdate.mk
index bfc161d490..ed0c1e56a8 100644
--- a/package/swupdate/swupdate.mk
+++ b/package/swupdate/swupdate.mk
@@ -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
--
2.34.1
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
reply other threads:[~2022-11-10 10:16 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20221110101621.181532-1-buildroot@heine.tech \
--to=buildroot@buildroot.org \
--cc="00:00:00"@osuosl.org \
--cc=17@osuosl.org \
--cc=1b4dd3f794a9c04fa4f963db7ac145986efffc4e@osuosl.org \
--cc=2001@osuosl.org \
--cc=Mon@osuosl.org \
--cc=Sep@osuosl.org \
--cc=buildroot@heine.tech \
--cc=joerg.krause@embedded.rocks \
--cc=rom@osuosl.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.