support armv7l, armv6l

This commit is contained in:
AJ ONeal 2015-03-19 22:01:17 -06:00
parent 6a8de7e98a
commit 2a362e70e9
1 changed files with 4 additions and 0 deletions

View File

@ -2,6 +2,10 @@ IOJS_VER=${1}
if [ -n "$(arch | grep 64)" ]; then if [ -n "$(arch | grep 64)" ]; then
ARCH="x64" ARCH="x64"
elif [ -n "$(arch | grep armv7l)" ]; then
ARCH="armv7l"
elif [ -n "$(arch | grep armv6l)" ]; then
ARCH="armv6l"
else else
ARCH="x86" ARCH="x86"
fi fi