* [Buildroot] [PATCH] minnowboard_max_defconfig: grub2 needs WCHAR
@ 2017-08-10 21:28 Arnout Vandecappelle
2017-08-11 13:29 ` Thomas Petazzoni
0 siblings, 1 reply; 2+ messages in thread
From: Arnout Vandecappelle @ 2017-08-10 21:28 UTC (permalink / raw)
To: buildroot
Since commit 5ffafd2353f5d67 (grub2: bump up version), grub2 needs a
toolchain with WCHAR support. However, the defconfigs that use grub2
were not updated at the time.
Add BR2_TOOLCHAIN_BUILDROOT_WCHAR=y to minnowboard_max_defconfig.
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Cc: Erico Nunes <nunes.erico@gmail.com>
Cc: Peter Korsgaard <peter@korsgaard.com>
Cc: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>
Cc: Vincent Stehl? <vincent.stehle@intel.com>
---
The following other defconfigs also use grub2.
galileo_defconfig: Needs to be updated, but is anyway failing to build
the kernel and I expect it will be removed.
minnowboard_max-graphical_defconfig: Already selects LOCALE which
implies WCHAR.
pc_x86_64_bios_defconfig, pc_x86_64_efi_defconfig: already select
WCHAR because it is needed for eudev.
---
configs/minnowboard_max_defconfig | 3 +++
1 file changed, 3 insertions(+)
diff --git a/configs/minnowboard_max_defconfig b/configs/minnowboard_max_defconfig
index 674b144de8..db6e595779 100644
--- a/configs/minnowboard_max_defconfig
+++ b/configs/minnowboard_max_defconfig
@@ -9,6 +9,9 @@ BR2_ROOTFS_POST_IMAGE_SCRIPT="board/minnowboard/post-image.sh"
# Linux headers same as kernel, a 4.12 series
BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_12=y
+# Needed for grub2
+BR2_TOOLCHAIN_BUILDROOT_WCHAR=y
+
BR2_PACKAGE_HOST_DOSFSTOOLS=y
BR2_PACKAGE_HOST_GENIMAGE=y
BR2_PACKAGE_HOST_MTOOLS=y
--
2.13.3
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Buildroot] [PATCH] minnowboard_max_defconfig: grub2 needs WCHAR
2017-08-10 21:28 [Buildroot] [PATCH] minnowboard_max_defconfig: grub2 needs WCHAR Arnout Vandecappelle
@ 2017-08-11 13:29 ` Thomas Petazzoni
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2017-08-11 13:29 UTC (permalink / raw)
To: buildroot
Hello,
On Thu, 10 Aug 2017 23:28:05 +0200, Arnout Vandecappelle
(Essensium/Mind) wrote:
> Since commit 5ffafd2353f5d67 (grub2: bump up version), grub2 needs a
> toolchain with WCHAR support. However, the defconfigs that use grub2
> were not updated at the time.
>
> Add BR2_TOOLCHAIN_BUILDROOT_WCHAR=y to minnowboard_max_defconfig.
>
> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
> Cc: Erico Nunes <nunes.erico@gmail.com>
> Cc: Peter Korsgaard <peter@korsgaard.com>
> Cc: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>
> Cc: Vincent Stehl? <vincent.stehle@intel.com>
> ---
> The following other defconfigs also use grub2.
I've applied to master. However, I'm not entirely happy with the fact
that grub2 requires wchar, but it's maybe a dependency that can be
removed once we introduce grub2-tools
(http://patchwork.ozlabs.org/patch/755651/).
Anyway for now, adding the wchar option in the minnowboard defconfig is
the only option we have.
Best regards,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-08-11 13:29 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-10 21:28 [Buildroot] [PATCH] minnowboard_max_defconfig: grub2 needs WCHAR Arnout Vandecappelle
2017-08-11 13:29 ` Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox