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 | 6b63716262b89bec53402817876116898936d5f4 (patch) | |
tree | 1d792a9083d34dc6e40620b3c5802e9168a461e0 /scripts | |
parent | 14ed3f0f22f34b337bb58b2a5fd09e887df3331f (diff) | |
download | upstream-6b63716262b89bec53402817876116898936d5f4.tar.gz upstream-6b63716262b89bec53402817876116898936d5f4.tar.bz2 upstream-6b63716262b89bec53402817876116898936d5f4.zip |
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>
SVN-Revision: 34314
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/config.sub | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/config.sub b/scripts/config.sub index 204218c073..f4bdcd555e 100755 --- a/scripts/config.sub +++ b/scripts/config.sub @@ -128,7 +128,8 @@ case $maybe_os in 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/'` ;; @@ -1309,7 +1310,7 @@ case $os in | -chorusos* | -chorusrdb* | -cegcc* \ | -cygwin* | -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* \ |