From 64e87769cef8a887a66edd80eafae9999a616b8a Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Fri, 1 Nov 2019 10:00:15 +0100 Subject: newlib: update to 3.1.0 --- target/config/Config.in.libc | 6 +++--- toolchain/newlib/Makefile.inc | 6 +++--- toolchain/newlib/patches/3.0.0/fix-tooldir.patch | 12 ------------ toolchain/newlib/patches/3.1.0/fix-tooldir.patch | 12 ++++++++++++ .../newlib/patches/riscv-newlib-2.4.0/fix-tooldir.patch | 12 ------------ 5 files changed, 18 insertions(+), 30 deletions(-) delete mode 100644 toolchain/newlib/patches/3.0.0/fix-tooldir.patch create mode 100644 toolchain/newlib/patches/3.1.0/fix-tooldir.patch delete mode 100644 toolchain/newlib/patches/riscv-newlib-2.4.0/fix-tooldir.patch diff --git a/target/config/Config.in.libc b/target/config/Config.in.libc index fe9a8135a..6287a6e22 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 d01745a93..8d8c3ff00 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 652f7494b..000000000 --- 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/3.1.0/fix-tooldir.patch b/toolchain/newlib/patches/3.1.0/fix-tooldir.patch new file mode 100644 index 000000000..652f7494b --- /dev/null +++ b/toolchain/newlib/patches/3.1.0/fix-tooldir.patch @@ -0,0 +1,12 @@ +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/riscv-newlib-2.4.0/fix-tooldir.patch deleted file mode 100644 index 652f7494b..000000000 --- a/toolchain/newlib/patches/riscv-newlib-2.4.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 -- cgit v1.2.3