summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2019-11-01 09:00:15 (GMT)
committerWaldemar Brodkorb <wbx@openadk.org>2019-11-01 09:00:15 (GMT)
commit64e87769cef8a887a66edd80eafae9999a616b8a (patch)
tree772fc2569b2e8ace4ce64fa083029b3362dbd9e0
parenta2e184cb3cc70d0b648bcac610fab1a0f25e124e (diff)
newlib: update to 3.1.0
-rw-r--r--target/config/Config.in.libc6
-rw-r--r--toolchain/newlib/Makefile.inc6
-rw-r--r--toolchain/newlib/patches/3.0.0/fix-tooldir.patch12
-rw-r--r--toolchain/newlib/patches/3.1.0/fix-tooldir.patch (renamed from toolchain/newlib/patches/riscv-newlib-2.4.0/fix-tooldir.patch)0
4 files changed, 6 insertions, 18 deletions
diff --git a/target/config/Config.in.libc b/target/config/Config.in.libc
index fe9a813..6287a6e 100644
--- a/target/config/Config.in.libc
+++ b/target/config/Config.in.libc
@@ -167,8 +167,8 @@ config ADK_TARGET_LIB_MUSL_GIT
bool "git"
depends on ADK_TARGET_LIB_MUSL && ADK_EXPERIMENTAL
-config ADK_TARGET_LIB_NEWLIB_3_0_0
- bool "3.0.0"
+config ADK_TARGET_LIB_NEWLIB_3_1_0
+ bool "3.1.0"
depends on ADK_TARGET_LIB_NEWLIB \
&& !ADK_TARGET_ARCH_XTENSA
@@ -201,7 +201,7 @@ config ADK_LIBC_VERSION
default "1.0.32" if ADK_TARGET_LIB_UCLIBC_NG_1_0_32
default "1.1.23" if ADK_TARGET_LIB_MUSL_1_1_23
default "2.30" if ADK_TARGET_LIB_GLIBC_2_30
- default "3.0.0" if ADK_TARGET_LIB_NEWLIB_3_0_0
+ default "3.1.0" if ADK_TARGET_LIB_NEWLIB_3_1_0
default "git" if ADK_TARGET_LIB_UCLIBC_NG_GIT || \
ADK_TARGET_LIB_MUSL_GIT || \
ADK_TARGET_LIB_GLIBC_GIT || \
diff --git a/toolchain/newlib/Makefile.inc b/toolchain/newlib/Makefile.inc
index d01745a..8d8c3ff 100644
--- a/toolchain/newlib/Makefile.inc
+++ b/toolchain/newlib/Makefile.inc
@@ -8,10 +8,10 @@ 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_3_0_0),y)
-PKG_VERSION:= 3.0.0
+ifeq ($(ADK_TARGET_LIB_NEWLIB_3_1_0),y)
+PKG_VERSION:= 3.1.0
PKG_RELEASE:= 1
-PKG_HASH:= c8566335ee74e5fcaeb8595b4ebd0400c4b043d6acb3263ecb1314f8f5501332
+PKG_HASH:= fb4fa1cc21e9060719208300a61420e4089d6de6ef59cf533b57fe74801d102a
PKG_SITES:= ftp://sourceware.org/pub/newlib/
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
endif
diff --git a/toolchain/newlib/patches/3.0.0/fix-tooldir.patch b/toolchain/newlib/patches/3.0.0/fix-tooldir.patch
deleted file mode 100644
index 652f749..0000000
--- a/toolchain/newlib/patches/3.0.0/fix-tooldir.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -Nur newlib-2.2.0-1.orig/configure newlib-2.2.0-1/configure
---- newlib-2.2.0-1.orig/configure 2014-07-05 23:09:07.000000000 +0200
-+++ newlib-2.2.0-1/configure 2015-11-25 06:33:11.461178398 +0100
-@@ -6985,7 +6985,7 @@
-
- # Some systems (e.g., one of the i386-aix systems the gas testers are
- # using) don't handle "\$" correctly, so don't use it here.
--tooldir='${exec_prefix}'/${target_noncanonical}
-+tooldir='${exec_prefix}'
- build_tooldir=${tooldir}
-
- # Create a .gdbinit file which runs the one in srcdir
diff --git a/toolchain/newlib/patches/riscv-newlib-2.4.0/fix-tooldir.patch b/toolchain/newlib/patches/3.1.0/fix-tooldir.patch
index 652f749..652f749 100644
--- a/toolchain/newlib/patches/riscv-newlib-2.4.0/fix-tooldir.patch
+++ b/toolchain/newlib/patches/3.1.0/fix-tooldir.patch