1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-27 15:54:04 +02:00

toolchain/musl: update to 0.9.8

Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34597 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
florian 2012-12-10 14:24:21 +00:00
parent b1993d0514
commit 8ee1ca4c76
6 changed files with 7 additions and 106 deletions

View File

@ -3,12 +3,12 @@
choice choice
prompt "musl Version" prompt "musl Version"
depends on TOOLCHAINOPTS && USE_MUSL depends on TOOLCHAINOPTS && USE_MUSL
default MUSL_VERSION_0_9_7 default MUSL_VERSION_0_9_8
help help
Select the version of musl you wish to use. Select the version of musl you wish to use.
config MUSL_VERSION_0_9_7 config MUSL_VERSION_0_9_8
bool "musl 0.9.7" bool "musl 0.9.8"
endchoice endchoice

View File

@ -1,12 +1,12 @@
config MUSL_VERSION config MUSL_VERSION
string string
depends on USE_MUSL depends on USE_MUSL
default "0.9.7" if MUSL_VERSION_0_9_7 default "0.9.8" if MUSL_VERSION_0_9_8
default "0.9.7" default "0.9.8"
if !TOOLCHAINOPTS if !TOOLCHAINOPTS
config MUSL_VERSION_0_9_7 config MUSL_VERSION_0_9_8
default y if USE_MUSL default y if USE_MUSL
bool bool

View File

@ -14,7 +14,7 @@ PKG_RELEASE=$(PKG_SOURCE_VERSION)
PKG_SOURCE_PROTO:=git PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=git://git.musl-libc.org/musl PKG_SOURCE_URL:=git://git.musl-libc.org/musl
PKG_SOURCE_SUBDIR=$(PKG_NAME)-$(PKG_VERSION) PKG_SOURCE_SUBDIR=$(PKG_NAME)-$(PKG_VERSION)
PKG_SOURCE_VERSION:=2df4f6f17b1f14684cb991c53c9ef0ddaa8c7bad PKG_SOURCE_VERSION:=e6dcebd5efa2d390f0a24dc11444024e9fd1990c
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
LIBC_SO_VERSION:=$(PKG_VERSION) LIBC_SO_VERSION:=$(PKG_VERSION)
PATCH_DIR:=$(PATH_PREFIX)/patches-$(PKG_VERSION) PATCH_DIR:=$(PATH_PREFIX)/patches-$(PKG_VERSION)

View File

@ -1,99 +0,0 @@
From 144dc4f479d49b8148f8b1b6b506b0f1096f911b Mon Sep 17 00:00:00 2001
From: Rich Felker <dalias@aerifal.cx>
Date: Fri, 23 Nov 2012 17:23:38 -0500
Subject: [PATCH] fix termios constants on mips
---
arch/mips/bits/termios.h | 31 +++++++++++++++++++++----------
1 file changed, 21 insertions(+), 10 deletions(-)
diff --git a/arch/mips/bits/termios.h b/arch/mips/bits/termios.h
index 9f6abd8..179af8e 100644
--- a/arch/mips/bits/termios.h
+++ b/arch/mips/bits/termios.h
@@ -14,19 +14,20 @@ struct termios
#define VQUIT 1
#define VERASE 2
#define VKILL 3
-#define VEOF 4
+#define VMIN 4
#define VTIME 5
-#define VMIN 6
+#define VEOL2 6
#define VSWTC 7
+#define VSWTCH 7
#define VSTART 8
#define VSTOP 9
#define VSUSP 10
-#define VEOL 11
#define VREPRINT 12
#define VDISCARD 13
#define VWERASE 14
#define VLNEXT 15
-#define VEOL2 16
+#define VEOF 16
+#define VEOL 17
#define IGNBRK 0000001
#define BRKINT 0000002
@@ -42,6 +43,7 @@ struct termios
#define IXANY 0004000
#define IXOFF 0010000
#define IMAXBEL 0020000
+#define IUTF8 0040000
#define OPOST 0000001
#define OLCUC 0000002
@@ -94,7 +96,10 @@ struct termios
#define B9600 0000015
#define B19200 0000016
#define B38400 0000017
+#define EXTA 0000016
+#define EXTB 0000017
+#define BOTHER 0010000
#define B57600 0010001
#define B115200 0010002
#define B230400 0010003
@@ -124,26 +129,32 @@ struct termios
#define PARODD 0001000
#define HUPCL 0002000
#define CLOCAL 0004000
+#define CBAUDEX 0010000
+#define CIBAUD 002003600000
+#define CMSPAR 010000000000
#define CRTSCTS 020000000000
+#define IBSHIFT 16
#define ISIG 0000001
#define ICANON 0000002
+#define XCASE 0000004
#define ECHO 0000010
#define ECHOE 0000020
#define ECHOK 0000040
#define ECHONL 0000100
#define NOFLSH 0000200
-#define TOSTOP 0000400
-#define IEXTEN 0100000
-
-/* Extensions? */
-#define CBAUDEX 0010000
+#define IEXTEN 0000400
#define ECHOCTL 0001000
#define ECHOPRT 0002000
#define ECHOKE 0004000
-#define FLUSHO 0010000
+#define FLUSHO 0020000
#define PENDIN 0040000
+#define TOSTOP 0100000
+#define ITOSTOP 0100000
+#define EXTPROC 0200000
+
+#define TIOCSER_TEMT 1
#define TCOOFF 0
#define TCOON 1
--
1.7.10.4