John Crispin
013b2bcd25
musl: add getopt support for non-option arguments
...
musl libc doesn't support the GNU getopt extension to parse non-option
arguments when the optstring starts with '-'.
This extension is used by some utilities, notably iptables, that
currently return with errors even with perfectly valid invocations.
The patch adds the code needed by getopt.c and getopt_long.c to
implement that extension.
Signed-off-by: Gianluca Anzolin <gianluca@sottospazio.it>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43309 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-19 09:21:02 +00:00
Felix Fietkau
a04caa9327
musl: fix getopt optional argument processing
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43009 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-21 11:03:20 +00:00
Felix Fietkau
493c3bb1c7
musl: update to version 1.1.5
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42971 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-19 21:45:41 +00:00
Felix Fietkau
6a998d2605
toolchain/musl: update to version 1.1.4
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41954 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-02 20:27:52 +00:00
Felix Fietkau
7e526d40a3
musl: add sgidefs.h
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41399 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-29 22:25:51 +00:00
Felix Fietkau
a5ed529363
musl: add a few more glibc types to includes
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41398 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-29 22:25:46 +00:00
Felix Fietkau
7559e1db0c
musl: remove fake glibc defines
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41396 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-29 22:25:40 +00:00
Felix Fietkau
b44e6b3768
musl: update to version 1.1.3
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41394 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-29 22:25:32 +00:00
Felix Fietkau
039d815560
musl: fix toolchain build failure caused by some header changes
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41173 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-12 20:30:37 +00:00
Felix Fietkau
960251bb37
musl: install a few extra headers to improve compatibility with various packages
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41056 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-09 13:47:36 +00:00
Felix Fietkau
66f8828fb9
musl: update to version 1.1.2
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41044 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-07 16:14:43 +00:00
Felix Fietkau
798d7b55fc
musl: add a hack to rip out excessive iconv bloat
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40875 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-28 23:18:47 +00:00
Felix Fietkau
0260ff39b6
musl: update to version 1.1.1
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40820 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-21 14:09:58 +00:00
Felix Fietkau
64e3f5f510
musl: update to 1.0.0
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39962 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-20 13:51:32 +00:00
Felix Fietkau
cda03f85e8
musl: move the dependency on BROKEN to the right config symbol
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39754 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-26 12:13:02 +00:00
Felix Fietkau
58d22ab8a4
toolchain/musl: add version 0.9.15, remove older versions (still broken, but closer to being functional than before)
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39750 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-24 21:10:11 +00:00
Felix Fietkau
5e92e942b4
musl: mark as broken, many packages do not compile with it
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37750 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-10 19:16:46 +00:00
Luka Perkov
7ac10b4555
toolchain/musl: add version 0.9.11
...
Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37173 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-04 21:26:01 +00:00
Felix Fietkau
1bb5b406f4
toolchain/musl: add version 0.9.10
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36591 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-09 20:34:21 +00:00
Felix Fietkau
20f34f8ecc
toolchain/musl: fix libstdc++ build issues
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36590 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-09 20:02:57 +00:00
Felix Fietkau
9bff7dfd4b
toolchain/musl: fix build issues on mac os x
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36588 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-09 19:26:53 +00:00
Felix Fietkau
c19411a781
toolchain: get rid of musl version kconfig symbol overloading
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36359 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-18 12:05:02 +00:00
Florian Fainelli
f2792fe405
toolchain/musl: add support for 0.9.9
...
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35815 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-26 16:40:27 +00:00
Florian Fainelli
93c31da5f9
toolchain/musl: add parenthesis to the __ARE_4_EQUAL macro
...
Fixes warnings exposed by netifd while using IN6_ARE_ADDR_EQUAL turned
into errors.
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35404 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-29 23:05:40 +00:00
Florian Fainelli
415894edf2
toolchain/musl: simplify musl install steps
...
Some of these were copy/pasted from uClibc, but they are not necessary
at all for musl-libc.
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34598 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-10 14:24:24 +00:00
Florian Fainelli
6c8a0f1389
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
2012-12-10 14:24:21 +00:00
Florian Fainelli
5db553697a
toolchain/musl: fix typo on configuration symbol
...
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34596 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-10 14:24:17 +00:00
Florian Fainelli
b4b6c4336c
[toolchain] musl: backport an upstream fix for MIPS and termios constants
...
Fixes weird console behavior with a musl rootfs.
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34318 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-23 22:43:11 +00:00
Florian Fainelli
e259bbb116
[toolchain] musl: disable hardware FPU registers usage
...
This was crashing applications, thanks to Rich Felker for the suggestion.
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34317 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-23 21:15:11 +00:00
Florian Fainelli
24cc4007ce
[buildroot] add preliminary support for musl
...
Musl is an alternative C-library, see http://www.musl-libc.org for more infos.
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34314 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-23 20:02:29 +00:00