JustArchi/ArchiKitchen — pull request #13 by Ricky310711 (2014-04-03 19:42:25+00:00)
Title: heres automatic architecture detection

tmpstore=$(grep -i "ro.product.cpu.abi" $ACTIVE_PROJECT/system/build.prop | head -n 1 | cut -d'=' -f2)
if [[ $tmpstore = "armeabi-v7a" ]]
then
arch=ARM
fi
if [[ $tmpstore = "armeabi" ]]
then
arch=ARM
fi
if [[ $tmpstore = "x86" ]]
then
arch=X86
fi

add it as you wish!