summaryrefslogtreecommitdiff
path: root/toolchain/binutils
diff options
context:
space:
mode:
Diffstat (limited to 'toolchain/binutils')
-rw-r--r--toolchain/binutils/Makefile.inc4
-rw-r--r--toolchain/binutils/patches/2.23.2/musl-cross.patch19
2 files changed, 21 insertions, 2 deletions
diff --git a/toolchain/binutils/Makefile.inc b/toolchain/binutils/Makefile.inc
index 4448a7b51..06b5d3105 100644
--- a/toolchain/binutils/Makefile.inc
+++ b/toolchain/binutils/Makefile.inc
@@ -7,8 +7,8 @@ ifeq ($(ADK_LINUX_AVR32),y)
PKG_VERSION:= 2.21
PKG_MD5SUM:= c84c5acc9d266f1a7044b51c85a823f5
else
-PKG_VERSION:= 2.22
-PKG_MD5SUM:= ee0f10756c84979622b992a4a61ea3f5
+PKG_VERSION:= 2.23.2
+PKG_MD5SUM:= 4f8fa651e35ef262edc01d60fb45702e
endif
PKG_RELEASE:= 1
diff --git a/toolchain/binutils/patches/2.23.2/musl-cross.patch b/toolchain/binutils/patches/2.23.2/musl-cross.patch
new file mode 100644
index 000000000..c1a4fbfec
--- /dev/null
+++ b/toolchain/binutils/patches/2.23.2/musl-cross.patch
@@ -0,0 +1,19 @@
+diff -Nur binutils-2.23.2.orig/config.sub binutils-2.23.2/config.sub
+--- binutils-2.23.2.orig/config.sub 2012-04-25 17:53:25.000000000 +0200
++++ binutils-2.23.2/config.sub 2013-09-15 15:10:00.000000000 +0200
+@@ -123,6 +123,7 @@
+ maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
+ case $maybe_os in
+ nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \
++ linux-musl* | \
+ linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \
+ knetbsd*-gnu* | netbsd*-gnu* | \
+ kopensolaris*-gnu* | \
+@@ -1361,6 +1362,7 @@
+ | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
+ | -mingw32* | -linux-gnu* | -linux-android* \
+ | -linux-newlib* | -linux-uclibc* \
++ | -linux-musl* \
+ | -uxpv* | -beos* | -mpeix* | -udk* \
+ | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
+ | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \