From 1e50e4bca31af421a132647ede6cd204fa6d5d11 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Thu, 12 Jan 2017 08:32:01 +0100 Subject: newlib: update to 2.5.0 --- toolchain/newlib/Makefile | 1 - toolchain/newlib/Makefile.inc | 6 +++--- toolchain/newlib/patches/2.2.0.20151023/disable-docs.patch | 14 -------------- toolchain/newlib/patches/2.2.0.20151023/fix-tooldir.patch | 12 ------------ toolchain/newlib/patches/2.3.0.20160226/disable-docs.patch | 14 -------------- toolchain/newlib/patches/2.3.0.20160226/fix-tooldir.patch | 12 ------------ toolchain/newlib/patches/2.4.0/fix-tooldir.patch | 12 ------------ toolchain/newlib/patches/2.5.0/fix-tooldir.patch | 12 ++++++++++++ 8 files changed, 15 insertions(+), 68 deletions(-) delete mode 100644 toolchain/newlib/patches/2.2.0.20151023/disable-docs.patch delete mode 100644 toolchain/newlib/patches/2.2.0.20151023/fix-tooldir.patch delete mode 100644 toolchain/newlib/patches/2.3.0.20160226/disable-docs.patch delete mode 100644 toolchain/newlib/patches/2.3.0.20160226/fix-tooldir.patch delete mode 100644 toolchain/newlib/patches/2.4.0/fix-tooldir.patch create mode 100644 toolchain/newlib/patches/2.5.0/fix-tooldir.patch (limited to 'toolchain/newlib') diff --git a/toolchain/newlib/Makefile b/toolchain/newlib/Makefile index 246927667..affbe239a 100644 --- a/toolchain/newlib/Makefile +++ b/toolchain/newlib/Makefile @@ -11,7 +11,6 @@ $(WRKBUILD)/.configured: CC='' \ CFLAGS='' \ LDFLAGS='' \ - have_doc='' \ ./configure --prefix=/usr \ --target=$(GNU_TARGET_NAME) \ --enable-newlib-io-long-long \ diff --git a/toolchain/newlib/Makefile.inc b/toolchain/newlib/Makefile.inc index 222a1496d..af2850d10 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_2_4_0),y) -PKG_VERSION:= 2.4.0 +ifeq ($(ADK_TARGET_LIB_NEWLIB_2_5_0),y) +PKG_VERSION:= 2.5.0 PKG_RELEASE:= 1 -PKG_HASH:= 545b3d235e350d2c61491df8b9f775b1b972f191380db8f52ec0b1c829c52706 +PKG_HASH:= 5b76a9b97c9464209772ed25ce55181a7bb144a66e5669aaec945aa64da3189b PKG_SITES:= ftp://sourceware.org/pub/newlib/ DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz endif diff --git a/toolchain/newlib/patches/2.2.0.20151023/disable-docs.patch b/toolchain/newlib/patches/2.2.0.20151023/disable-docs.patch deleted file mode 100644 index 3b500b61c..000000000 --- a/toolchain/newlib/patches/2.2.0.20151023/disable-docs.patch +++ /dev/null @@ -1,14 +0,0 @@ -diff -Nur newlib-2.2.0-1.orig/etc/Makefile.in newlib-2.2.0-1/etc/Makefile.in ---- newlib-2.2.0-1.orig/etc/Makefile.in 2010-11-20 20:37:57.000000000 +0100 -+++ newlib-2.2.0-1/etc/Makefile.in 2015-12-03 14:23:44.043820971 +0100 -@@ -63,8 +63,8 @@ - PDFFILES = standards.pdf configure.pdf - HTMLFILES = standards.html configure.html - --all: info --install install-strip: install-info -+all: -+install install-strip: - - uninstall: - diff --git a/toolchain/newlib/patches/2.2.0.20151023/fix-tooldir.patch b/toolchain/newlib/patches/2.2.0.20151023/fix-tooldir.patch deleted file mode 100644 index 652f7494b..000000000 --- a/toolchain/newlib/patches/2.2.0.20151023/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/2.3.0.20160226/disable-docs.patch b/toolchain/newlib/patches/2.3.0.20160226/disable-docs.patch deleted file mode 100644 index 3b500b61c..000000000 --- a/toolchain/newlib/patches/2.3.0.20160226/disable-docs.patch +++ /dev/null @@ -1,14 +0,0 @@ -diff -Nur newlib-2.2.0-1.orig/etc/Makefile.in newlib-2.2.0-1/etc/Makefile.in ---- newlib-2.2.0-1.orig/etc/Makefile.in 2010-11-20 20:37:57.000000000 +0100 -+++ newlib-2.2.0-1/etc/Makefile.in 2015-12-03 14:23:44.043820971 +0100 -@@ -63,8 +63,8 @@ - PDFFILES = standards.pdf configure.pdf - HTMLFILES = standards.html configure.html - --all: info --install install-strip: install-info -+all: -+install install-strip: - - uninstall: - diff --git a/toolchain/newlib/patches/2.3.0.20160226/fix-tooldir.patch b/toolchain/newlib/patches/2.3.0.20160226/fix-tooldir.patch deleted file mode 100644 index 652f7494b..000000000 --- a/toolchain/newlib/patches/2.3.0.20160226/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/2.4.0/fix-tooldir.patch b/toolchain/newlib/patches/2.4.0/fix-tooldir.patch deleted file mode 100644 index 652f7494b..000000000 --- a/toolchain/newlib/patches/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 diff --git a/toolchain/newlib/patches/2.5.0/fix-tooldir.patch b/toolchain/newlib/patches/2.5.0/fix-tooldir.patch new file mode 100644 index 000000000..652f7494b --- /dev/null +++ b/toolchain/newlib/patches/2.5.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 -- cgit v1.2.3