summaryrefslogtreecommitdiff
path: root/scripts/config.sub
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2014-11-28 00:59:57 +0000
committerFelix Fietkau <nbd@openwrt.org>2014-11-28 00:59:57 +0000
commit5462e85ef1a2cb293dad6cbd8c0024a1a21bfdc0 (patch)
treed4b5f0522b748f00edc4301f1c6d9647f352679f /scripts/config.sub
parent490a5ebe23f702467157ab669e254b9bda8995d8 (diff)
downloadmtk-20170518-5462e85ef1a2cb293dad6cbd8c0024a1a21bfdc0.zip
mtk-20170518-5462e85ef1a2cb293dad6cbd8c0024a1a21bfdc0.tar.gz
mtk-20170518-5462e85ef1a2cb293dad6cbd8c0024a1a21bfdc0.tar.bz2
scripts/config.sub: add back musl support that was accidentally dropped in r43353
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 43417
Diffstat (limited to 'scripts/config.sub')
-rwxr-xr-xscripts/config.sub4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/config.sub b/scripts/config.sub
index c894da4..74111be 100755
--- a/scripts/config.sub
+++ b/scripts/config.sub
@@ -126,7 +126,7 @@ 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/'`
;;
@@ -1354,7 +1354,7 @@ case $os in
| -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* \