toolchain/eglibc: add support for 2.17
authorFlorian Fainelli <florian@openwrt.org>
Thu, 7 Feb 2013 17:34:53 +0000 (17:34 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Thu, 7 Feb 2013 17:34:53 +0000 (17:34 +0000)
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 35515

toolchain/eglibc/Config.in
toolchain/eglibc/Config.version
toolchain/eglibc/common.mk

index 2e3b73af7da3ddca2c05a1c5b866031c5dd7aee3..11f9abe11d8c150ac751d04a6b2c8b87b1270f20 100644 (file)
@@ -13,6 +13,10 @@ choice
                bool "eglibc 2.16"
                depends !GCC_VERSION_LLVM
 
+       config EGLIBC_VERSION_2_17
+               bool "eglibc 2.17"
+               depends !GCC_VERSION_LLVM
+
 endchoice
 
 config EGLIBC_REVISION
@@ -20,6 +24,7 @@ config EGLIBC_REVISION
        depends on TOOLCHAINOPTS && USE_EGLIBC
        default "18909" if EGLIBC_VERSION_2_15
        default "21110" if EGLIBC_VERSION_2_16
+       default "22243" if EGLIBC_VERSION_2_17
        default ""
 
 menu "eglibc configuration"
index 496b90bf6bcd881ac788e40708978c0b69e9cf04..92ba3e6ee0d71ceca11e549f2b368e01e8241dac 100644 (file)
@@ -3,4 +3,5 @@ config EGLIBC_VERSION
        depends on USE_EGLIBC
        default "2.15" if EGLIBC_VERSION_2_15
        default "2.16" if EGLIBC_VERSION_2_16
+       default "2.17" if EGLIBC_VERSION_2_17
        default "2.15"
index 5c8dc117ecfeadd234270d7f92800a52638b97ec..483f57db829b718aaa141cc74f44ae9f2a0e38c2 100644 (file)
@@ -21,6 +21,9 @@ endif
 ifneq ($(CONFIG_EGLIBC_VERSION_2_16),)
   PKG_SOURCE_URL:=svn://svn.eglibc.org/branches/eglibc-2_16
 endif
+ifneq ($(CONFIG_EGLIBC_VERSION_2_17),)
+  PKG_SOURCE_URL:=svn://svn.eglibc.org/branches/eglibc-2_17
+endif
 
 PATCH_DIR:=$(PATH_PREFIX)/patches/$(PKG_VERSION)
 
@@ -80,7 +83,9 @@ define Host/Prepare
        $(call Host/Prepare/Default)
        ln -snf $(PKG_SOURCE_SUBDIR) $(BUILD_DIR_TOOLCHAIN)/$(PKG_NAME)
        $(SED) 's,y,n,' $(HOST_BUILD_DIR)/libc/option-groups.defaults
+ifneq ($(CONFIG_EGLIBC_VERSION_2_17),y)
        ln -sf ../ports $(HOST_BUILD_DIR)/libc/
+endif
 endef
 
 define Host/Clean