From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] boot/uboot: fix uboot build
Date: Thu, 25 Mar 2021 17:36:39 +0100 [thread overview]
Message-ID: <20210325173639.088ba6e4@windsurf.home> (raw)
In-Reply-To: <20210325173459.7d902f53@kmaincent-XPS-13-7390>
On Thu, 25 Mar 2021 17:34:59 +0100
K?ry Maincent <kory.maincent@bootlin.com> wrote:
> > After discussing with Yann E. Morin on IRC, could you try this change
> > instead:
> >
> > $(TARGET_CONFIGURE_OPTS) \
> > PKG_CONFIG="$(PKG_CONFIG_HOST_BINARY)" \
> > PKG_CONFIG_SYSROOT_DIR="/" \
> > PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 \
> > PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 \
> > PKG_CONFIG_LIBDIR="$(HOST_DIR)/lib/pkgconfig:$(HOST_DIR)/share/pkgconfig"
> >
> > The reasoning is that U-Boot anyway only uses pkg-config for host
> > tools, so we could just as well pass those environment variables when
> > building U-Boot.
> >
> > Could you try this out?
>
> This change works well, the build of U-boot ends properly.
Excellent, thanks!
> You can find the defconfig that break the U-boot build in attachment.
Perhaps it would be good to capture this defconfig as a test in
support/testing/, so we can make sure this doesn't regress?
Thomas
--
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
next prev parent reply other threads:[~2021-03-25 16:36 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-02-04 17:04 [Buildroot] [PATCH] boot/uboot: fix uboot build Kory Maincent
2021-03-16 22:08 ` Thomas Petazzoni
2021-03-25 16:34 ` Köry Maincent
2021-03-25 16:36 ` Thomas Petazzoni [this message]
2021-06-28 20:26 ` Yann E. MORIN
2021-06-29 12:47 ` Köry Maincent
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=20210325173639.088ba6e4@windsurf.home \
--to=thomas.petazzoni@bootlin.com \
--cc=buildroot@busybox.net \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox