From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] linux/linux.mk: use HOST_MAKE_ENV rather than TARGET_MAKE_ENV
Date: Sun, 2 Feb 2020 21:07:18 +0100 [thread overview]
Message-ID: <20200202210718.41881805@windsurf> (raw)
In-Reply-To: <20200131174940.12469-1-peter@korsgaard.com>
On Fri, 31 Jan 2020 18:49:39 +0100
Peter Korsgaard <peter@korsgaard.com> wrote:
> While the kernel is built for the target, the build may need various host
> libraries depending on config (and kernel version), so use HOST_MAKE_ENV
> instead of TARGET_MAKE_ENV.
>
> In particular, this ensures that our host-pkgconf will look for host
> libraries and not target ones.
>
> Fixes building scripts/dtc for Buildroot configurations enabling libyaml and
> host-pkgconf for kernels after commit 067c650c45 (dtc: Use pkg-config to
> locate libyaml).
>
> With this enabled, we can drop the PKG_CONFIG_* variables for the
> _NEEDS_HOST_LIBELF conditional, as those are included in HOST_MAKE_ENV.
>
> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
> ---
> linux/linux.mk | 12 +++++-------
> 1 file changed, 5 insertions(+), 7 deletions(-)
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
next prev parent reply other threads:[~2020-02-02 20:07 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-01-31 17:49 [Buildroot] [PATCH] linux/linux.mk: use HOST_MAKE_ENV rather than TARGET_MAKE_ENV Peter Korsgaard
2020-02-02 20:07 ` Thomas Petazzoni [this message]
2020-03-07 20:39 ` Peter Korsgaard
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=20200202210718.41881805@windsurf \
--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