diff options
author | Florian Fainelli <florian@openwrt.org> | 2012-11-23 20:02:29 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2012-11-23 20:02:29 +0000 |
commit | 24cc4007ce46bb076bfe2879f66f19f52161f098 (patch) | |
tree | bc44c7e2aea0c387867ce3601e782b02a940d79e /toolchain/gdb/patches/200-linux_musl.patch | |
parent | ee048e8c321170b8eb9f06c65baa44d17b3455e1 (diff) | |
download | upstream-24cc4007ce46bb076bfe2879f66f19f52161f098.tar.gz upstream-24cc4007ce46bb076bfe2879f66f19f52161f098.tar.bz2 upstream-24cc4007ce46bb076bfe2879f66f19f52161f098.zip |
[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
Diffstat (limited to 'toolchain/gdb/patches/200-linux_musl.patch')
-rw-r--r-- | toolchain/gdb/patches/200-linux_musl.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/toolchain/gdb/patches/200-linux_musl.patch b/toolchain/gdb/patches/200-linux_musl.patch new file mode 100644 index 0000000000..738bc8b55f --- /dev/null +++ b/toolchain/gdb/patches/200-linux_musl.patch @@ -0,0 +1,22 @@ +diff -urN gdb-linaro-7.5-2012.09/config.sub gdb-linaro-7.5-2012.09.new/config.sub +--- gdb-linaro-7.5-2012.09/config.sub 2012-09-13 16:01:23.000000000 +0200 ++++ gdb-linaro-7.5-2012.09.new/config.sub 2012-11-21 18:19:43.516916352 +0100 +@@ -126,7 +126,8 @@ + linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \ + knetbsd*-gnu* | netbsd*-gnu* | \ + kopensolaris*-gnu* | \ +- storm-chaos* | os2-emx* | rtmk-nova*) ++ storm-chaos* | os2-emx* | rtmk-nova* | \ ++ linux-musl*) + os=-$maybe_os + basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` + ;; +@@ -1360,7 +1361,7 @@ + | -chorusos* | -chorusrdb* | -cegcc* \ + | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ + | -mingw32* | -linux-gnu* | -linux-android* \ +- | -linux-newlib* | -linux-uclibc* \ ++ | -linux-newlib* | -linux-uclibc* | -linux-musl* \ + | -uxpv* | -beos* | -mpeix* | -udk* \ + | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ + | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ |