[Buildroot] minnowboard_max_defconfig, changes to build for 32-bit, fails in the end when installing grub

Bin Meng bmeng.cn at gmail.com
Mon Aug 28 08:26:24 UTC 2017


Hi Thomas,

On Mon, Aug 28, 2017 at 3:52 PM, Thomas Petazzoni
<thomas.petazzoni at free-electrons.com> wrote:
> Hello,
>
> On Mon, 28 Aug 2017 15:47:57 +0800, Bin Meng wrote:
>
>> Thanks for the hints. Since I changed "Target Architecture" to i386 in
>> menuconfig, I see the grub2 platform has also changed to "i386-pc"
>> automatically, but the built modules
>> (BR2_TARGET_GRUB2_BUILTIN_MODULES) remains unchanged, and that
>> explains the build error. Is this a limitation of Kconfig that it
>> cannot switch BR2_TARGET_GRUB2_BUILTIN_MODULES automatically?
>
> Yes.
>
>> I did further testing by switching "Target Architecture" back to
>> x86-64, and I saw grub2 platform did not change to the EFI stuff and
>> remained as "i386-pc".
>
> Yes, welcome to Kconfig :)
>

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?

Regards,
Bin



More information about the buildroot mailing list