From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] minnowboard_max_defconfig, changes to build for 32-bit, fails in the end when installing grub
Date: Mon, 28 Aug 2017 11:07:46 +0200 [thread overview]
Message-ID: <20170828110746.4efbc22c@windsurf> (raw)
In-Reply-To: <CAEUhbmWLe-YCD6x_S9SrG2HjKmbnsVqHq0toiQqKNN8FpYZ1=A@mail.gmail.com>
Hello,
On Mon, 28 Aug 2017 16:26:24 +0800, Bin Meng wrote:
> Thanks. But do you know why does Kconfig changes grub2 platform to
> "i386-pc" when I changed "Target Architecture" to i386. It should just
> remain unchanged, no?
Look at the config option dependencies please.
The minnowboard_max_defconfig has:
BR2_TARGET_GRUB2_X86_64_EFI=y
But BR2_TARGET_GRUB2_X86_64_EFI has "depends on BR2_ARCH_IS_64". So
when you switch from x86-64 to i386, this option is no longer
available. Therefore Kconfig reverts back to the first possible choice
between BR2_TARGET_GRUB2_I386_PC and BR2_TARGET_GRUB2_I386_EFI.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
next prev parent reply other threads:[~2017-08-28 9:07 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-27 11:57 [Buildroot] minnowboard_max_defconfig, changes to build for 32-bit, fails in the end when installing grub Bin Meng
2017-08-28 7:05 ` Thomas Petazzoni
2017-08-28 7:47 ` Bin Meng
2017-08-28 7:52 ` Thomas Petazzoni
2017-08-28 8:26 ` Bin Meng
2017-08-28 9:07 ` Thomas Petazzoni [this message]
2017-08-28 9:24 ` Bin Meng
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=20170828110746.4efbc22c@windsurf \
--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