Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH next] toolchain/buildroot: add comment for glibc NaN-2008 headers requirement
@ 2017-11-25 15:19 Yann E. MORIN
  2017-11-29 21:17 ` Thomas Petazzoni
  0 siblings, 1 reply; 2+ messages in thread
From: Yann E. MORIN @ 2017-11-25 15:19 UTC (permalink / raw)
  To: buildroot

Commit 4a5140ecf (toolchain/buildroot: glibc requires kernel headers >=
4.5 with NaN-2008) added a restriction on kernel hjeaders for glibc when
the architecture is using naN-2008.

However, such a restriction is usually associated to a comment explaining
the restiction, so the user knows what is happening.

That comment was forgotten in 4a5140ecf. Add it now.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Romain Naour <romain.naour@openwide.fr>
---
 toolchain/toolchain-buildroot/Config.in | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/toolchain/toolchain-buildroot/Config.in b/toolchain/toolchain-buildroot/Config.in
index cbe2038a77..c624350cac 100644
--- a/toolchain/toolchain-buildroot/Config.in
+++ b/toolchain/toolchain-buildroot/Config.in
@@ -72,6 +72,11 @@ comment "glibc on powerpc64le needs a toolchain w/ headers >= 3.10"
 	depends on BR2_powerpc64le
 	depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10
 
+# Support for MIPS NAN2008 needs headers >= 4.5
+comment "glibc on MIPS w/ NAN2008 needs a toolchain w/ headers >= 4.5"
+	depends on BR2_MIPS_NAN_2008
+	depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_5
+
 config BR2_TOOLCHAIN_BUILDROOT_MUSL
 	bool "musl"
 	depends on BR2_aarch64	  || BR2_arm     || BR2_armeb     || BR2_i386 || \
-- 
2.11.0

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [Buildroot] [PATCH next] toolchain/buildroot: add comment for glibc NaN-2008 headers requirement
  2017-11-25 15:19 [Buildroot] [PATCH next] toolchain/buildroot: add comment for glibc NaN-2008 headers requirement Yann E. MORIN
@ 2017-11-29 21:17 ` Thomas Petazzoni
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2017-11-29 21:17 UTC (permalink / raw)
  To: buildroot

Hello,

On Sat, 25 Nov 2017 16:19:02 +0100, Yann E. MORIN wrote:
> Commit 4a5140ecf (toolchain/buildroot: glibc requires kernel headers >=
> 4.5 with NaN-2008) added a restriction on kernel hjeaders for glibc when
> the architecture is using naN-2008.
> 
> However, such a restriction is usually associated to a comment explaining
> the restiction, so the user knows what is happening.
> 
> That comment was forgotten in 4a5140ecf. Add it now.
> 
> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
> Cc: Romain Naour <romain.naour@openwide.fr>
> ---
>  toolchain/toolchain-buildroot/Config.in | 5 +++++
>  1 file changed, 5 insertions(+)

Applied to next, thanks.

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-11-29 21:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-25 15:19 [Buildroot] [PATCH next] toolchain/buildroot: add comment for glibc NaN-2008 headers requirement Yann E. MORIN
2017-11-29 21:17 ` Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox