Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] linux: select BR2_PACKAGE_HOST_UBOOT_TOOLS instead of BR2_LINUX_KERNEL_UBOOT_IMAGE
Date: Wed, 12 Apr 2017 21:43:03 +0200	[thread overview]
Message-ID: <20170412214303.1ce5077a@free-electrons.com> (raw)
In-Reply-To: <20170410160511.16278-1-arnout@mind.be>

Hello,

On Mon, 10 Apr 2017 18:05:11 +0200, Arnout Vandecappelle
(Essensium/Mind) wrote:
> A long time ago, the blind config option BR2_LINUX_KERNEL_UBOOT_IMAGE
> was introduced to be able to trigger the linux -> host-uboot-tools
> dependency. Back in those days, there was no user-configurable
> BR2_PACKAGE_HOST_UBOOT_TOOLS.
> 
> Now, however, it is possible to select a custom kernel image name that
> needs uboot-tools, and manually enable BR2_PACKAGE_HOST_UBOOT_TOOLS. In
> this case, however, the linux -> host-uboot-tools is missed and the
> build is not reproducible. An example of such a situation is the
> upcoming CI40 defconfig.
> 
> As a solution, remove BR2_LINUX_KERNEL_UBOOT_IMAGE entirely. Instead,
> just select BR2_PACKAGE_HOST_UBOOT_TOOLS and add the dependency if it
> is selected.
> 
> Note that this may introduce a redundant dependency in case the user
> selected BR2_PACKAGE_HOST_UBOOT_TOOLS for some other reason (e.g. to
> be able to generate a U-Boot environment to include in the image, while
> the kernel is built as a zImage). However, the redundant dependency
> shouldn't hurt much.
> 
> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
> Cc: Abhimanyu Vishwakarma <abhimanyu.v@gmail.com>
> ---
>  linux/Config.in | 13 +++++--------
>  linux/linux.mk  |  4 +++-
>  2 files changed, 8 insertions(+), 9 deletions(-)

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

      reply	other threads:[~2017-04-12 19:43 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-10 16:05 [Buildroot] [PATCH] linux: select BR2_PACKAGE_HOST_UBOOT_TOOLS instead of BR2_LINUX_KERNEL_UBOOT_IMAGE Arnout Vandecappelle
2017-04-12 19:43 ` Thomas Petazzoni [this message]

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=20170412214303.1ce5077a@free-electrons.com \
    --to=thomas.petazzoni@free-electrons.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