From 45a9ad52e9180ffd9e01389a6a48542eb5bf66f7 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sun, 27 Mar 2016 18:37:03 +0200 Subject: newlib: update to latest 2.2.x/2.3.x versions --- toolchain/newlib/Makefile.inc | 14 ++++++++++---- 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.2.0/disable-docs.patch | 14 -------------- toolchain/newlib/patches/2.2.0/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 ++++++++++++ 7 files changed, 62 insertions(+), 30 deletions(-) create mode 100644 toolchain/newlib/patches/2.2.0.20151023/disable-docs.patch create mode 100644 toolchain/newlib/patches/2.2.0.20151023/fix-tooldir.patch delete mode 100644 toolchain/newlib/patches/2.2.0/disable-docs.patch delete mode 100644 toolchain/newlib/patches/2.2.0/fix-tooldir.patch create mode 100644 toolchain/newlib/patches/2.3.0.20160226/disable-docs.patch create mode 100644 toolchain/newlib/patches/2.3.0.20160226/fix-tooldir.patch (limited to 'toolchain/newlib') diff --git a/toolchain/newlib/Makefile.inc b/toolchain/newlib/Makefile.inc index 3809ccc98..43eed2adc 100644 --- a/toolchain/newlib/Makefile.inc +++ b/toolchain/newlib/Makefile.inc @@ -8,11 +8,17 @@ 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_3_0),y) +PKG_VERSION:= 2.3.0.20160226 +PKG_RELEASE:= 1 +PKG_HASH:= a9489dd28276e4fb29d65a1388a359b1f005d2ba6a4b92a6e5a802b95e1ad7d1 +PKG_SITES:= ftp://sourceware.org/pub/newlib/ +DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz +endif ifeq ($(ADK_TARGET_LIB_NEWLIB_2_2_0),y) -PKG_VERSION:= 2.2.0 +PKG_VERSION:= 2.2.0.20151023 PKG_RELEASE:= 1 -PKG_HASH:= c1d53fd1765d955ac513aa6e2f576455ee7507072d400314495c8a8a26ebc8ec +PKG_HASH:= fd1d3d358dd66922f37563518e787196e1fba8adaa6d8b1e955d145b38b3fa60 PKG_SITES:= ftp://sourceware.org/pub/newlib/ -DISTFILES:= ${PKG_NAME}-${PKG_VERSION}-1.tar.gz -WRKDIST= $(WRKDIR)/${PKG_NAME}-${PKG_VERSION}-1 +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 new file mode 100644 index 000000000..3b500b61c --- /dev/null +++ b/toolchain/newlib/patches/2.2.0.20151023/disable-docs.patch @@ -0,0 +1,14 @@ +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 new file mode 100644 index 000000000..652f7494b --- /dev/null +++ b/toolchain/newlib/patches/2.2.0.20151023/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/2.2.0/disable-docs.patch b/toolchain/newlib/patches/2.2.0/disable-docs.patch deleted file mode 100644 index 3b500b61c..000000000 --- a/toolchain/newlib/patches/2.2.0/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/fix-tooldir.patch b/toolchain/newlib/patches/2.2.0/fix-tooldir.patch deleted file mode 100644 index 652f7494b..000000000 --- a/toolchain/newlib/patches/2.2.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.3.0.20160226/disable-docs.patch b/toolchain/newlib/patches/2.3.0.20160226/disable-docs.patch new file mode 100644 index 000000000..3b500b61c --- /dev/null +++ b/toolchain/newlib/patches/2.3.0.20160226/disable-docs.patch @@ -0,0 +1,14 @@ +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 new file mode 100644 index 000000000..652f7494b --- /dev/null +++ b/toolchain/newlib/patches/2.3.0.20160226/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