glibc: add eglibc 2.19-svnr25243 and choice menu
authorGustavo Zacarias <gustavo@zacarias.com.ar>
Sun, 1 Jun 2014 12:50:07 +0000 (09:50 -0300)
committerPeter Korsgaard <peter@korsgaard.com>
Sun, 1 Jun 2014 19:00:19 +0000 (21:00 +0200)
Add glibc 2.19-svnr25243 and a choice menu to select between different
eglibc versions.
Blacklist it for PowerPC SPE since it doesn't even build.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/glibc/Config.in
package/glibc/glibc.mk

index dbb1a19f4950cb3e66fac32965e81ad2e594734d..d9b6acc80bbfbc4c57b2e4ebe9bcbd2b1c53b9ad 100644 (file)
@@ -1,3 +1,21 @@
+if BR2_TOOLCHAIN_BUILDROOT_EGLIBC
+
+choice
+       prompt "eglibc version"
+       default BR2_EGLIBC_VERSION_2_18
+
+config BR2_EGLIBC_VERSION_2_18
+       bool "2.18-svnr23787"
+
+config BR2_EGLIBC_VERSION_2_19
+       bool "2.19-svnr25243"
+       # Build breakage
+       depends on !BR2_powerpc_SPE
+
+endchoice
+
+endif
+
 if BR2_TOOLCHAIN_BUILDROOT_GLIBC
 
 choice
index d02ab7efbb7c53bf9789e1150a304cbc187e237c..f841fd05450d768438255f00fa0f2de6d200c213 100644 (file)
@@ -5,7 +5,7 @@
 ################################################################################
 
 ifeq ($(BR2_TOOLCHAIN_BUILDROOT_EGLIBC),y)
-GLIBC_VERSION = 2.18-svnr23787
+GLIBC_VERSION = $(if $(BR2_EGLIBC_VERSION_2_19),2.19-svnr25243,2.18-svnr23787)
 GLIBC_SITE = http://downloads.yoctoproject.org/releases/eglibc/
 GLIBC_SOURCE = eglibc-$(GLIBC_VERSION).tar.bz2
 GLIBC_SRC_SUBDIR = libc