Skip to content

Commit

Permalink
[android] Fix config.sub to understand Android targets
Browse files Browse the repository at this point in the history
Signed-off-by: Dmitry Moskalchuk <dm@crystax.net>
  • Loading branch information
dmsck committed Jul 5, 2015
1 parent d54c130 commit 237d857
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions config.sub
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ esac
maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
case $maybe_os in
nto-qnx* | linux-gnu* | linux-dietlibc | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | \
linux-android* | \
kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | storm-chaos* | os2-emx* | rtmk-nova*)
os=-$maybe_os
basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
Expand Down Expand Up @@ -231,6 +232,7 @@ case $basic_machine in
| alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
| am33_2.0 \
| arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \
| aarch64 \
| c4x | clipper \
| d10v | d30v | dlx | dsp16xx \
| fr30 | frv \
Expand Down

0 comments on commit 237d857

Please sign in to comment.