Browse Source

newlib: add 2.4.0 release

Waldemar Brodkorb 8 years ago
parent
commit
486234afd3
2 changed files with 12 additions and 0 deletions
  1. 5 0
      target/config/Config.in.libc
  2. 7 0
      toolchain/newlib/Makefile.inc

+ 5 - 0
target/config/Config.in.libc

@@ -163,6 +163,10 @@ config ADK_TARGET_LIB_MUSL_GIT
 	bool "git"
 	depends on ADK_TARGET_LIB_MUSL
 
+config ADK_TARGET_LIB_NEWLIB_2_4_0
+	bool "2.4.0"
+	depends on ADK_TARGET_LIB_NEWLIB
+
 config ADK_TARGET_LIB_NEWLIB_2_3_0
 	bool "2.3.0"
 	depends on ADK_TARGET_LIB_NEWLIB
@@ -220,6 +224,7 @@ config ADK_LIBC_VERSION
 	default "2.22" if ADK_TARGET_LIB_GLIBC_2_22
 	default "2.21" if ADK_TARGET_LIB_GLIBC_2_21
 	default "2.20-or1k" if ADK_TARGET_LIB_GLIBC_OR1K
+	default "2.4.0" if ADK_TARGET_LIB_NEWLIB_2_4_0
 	default "2.3.0" if ADK_TARGET_LIB_NEWLIB_2_3_0
 	default "2.2.0" if ADK_TARGET_LIB_NEWLIB_2_2_0
 	default "git" if ADK_TARGET_LIB_UCLIBC_NG_GIT || \

+ 7 - 0
toolchain/newlib/Makefile.inc

@@ -8,6 +8,13 @@ PKG_RELEASE:=		1
 PKG_SITES:=		git://sourceware.org/git/newlib-cygwin.git
 DISTFILES:=		${PKG_NAME}-${PKG_VERSION}.tar.xz
 endif
+ifeq ($(ADK_TARGET_LIB_NEWLIB_2_4_0),y)
+PKG_VERSION:=		2.4.0
+PKG_RELEASE:=		1
+PKG_HASH:=		545b3d235e350d2c61491df8b9f775b1b972f191380db8f52ec0b1c829c52706
+PKG_SITES:=		ftp://sourceware.org/pub/newlib/
+DISTFILES:=		${PKG_NAME}-${PKG_VERSION}.tar.gz
+endif
 ifeq ($(ADK_TARGET_LIB_NEWLIB_2_3_0),y)
 PKG_VERSION:=		2.3.0.20160226
 PKG_RELEASE:=		1