Commit 6762e427 authored by Thomas Petazzoni's avatar Thomas Petazzoni Committed by Peter Korsgaard
Browse files

glibc: add 2.19 as a supported version

glibc 2.19 has been released recently
(https://sourceware.org/ml/libc-alpha/2014-02/msg00224.html

). This
commit allows to build a toolchain with this new version. In order to
allow this, we add a version selection that did not exist for
glibc. We default to 2.18, which was the only supported version until
now, and add an option for 2.19.

For microblaze, which uses a specific glibc version, the version
selection choice is not displayed.

Signed-off-by: default avatarThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: default avatarPeter Korsgaard <peter@korsgaard.com>
parent 89673ec0
Loading
Loading
Loading
Loading
+21 −0
Original line number Diff line number Diff line
if BR2_TOOLCHAIN_BUILDROOT_GLIBC

choice
	prompt "glibc version"
	default BR2_GLIBC_VERSION_2_18
	# Architectures supported in mainline glibc
	depends on BR2_arm    || BR2_armeb    || BR2_aarch64 || \
		   BR2_i386   || BR2_mips     || BR2_mipsel  || \
		   BR2_mips64 || BR2_mips64el || BR2_powerpc || \
		   BR2_sh     || BR2_sh64     || BR2_sparc   || \
		   BR2_x86_64

config BR2_GLIBC_VERSION_2_18
       bool "2.18"

config BR2_GLIBC_VERSION_2_19
       bool "2.19"

endchoice

endif
+1 −1
Original line number Diff line number Diff line
@@ -21,7 +21,7 @@ GLIBC_SITE = http://downloads.yoctoproject.org/releases/eglibc/
GLIBC_SOURCE = eglibc-$(GLIBC_VERSION).tar.bz2
GLIBC_SRC_SUBDIR = libc
else
GLIBC_VERSION = 2.18
GLIBC_VERSION = $(if $(BR2_GLIBC_VERSION_2_19),2.19,2.18)
GLIBC_SITE = $(BR2_GNU_MIRROR)/libc
GLIBC_SOURCE = glibc-$(GLIBC_VERSION).tar.xz
GLIBC_SRC_SUBDIR = .
+1 −1
Original line number Diff line number Diff line
@@ -70,7 +70,7 @@ config BR2_TOOLCHAIN_BUILDROOT_LIBC
	default "glibc"  if BR2_TOOLCHAIN_BUILDROOT_GLIBC

source "package/uclibc/Config.in"

source "package/glibc/Config.in"
source "package/binutils/Config.in.host"
source "package/gcc/Config.in.host"
source "package/elf2flt/Config.in.host"