Split for armv6 and armv7 archs in buildscripts

This commit is contained in:
Sergey Shatunov 2014-02-24 17:16:35 +08:00
parent 639a92ebe7
commit 2c48c844d4
4 changed files with 6 additions and 2 deletions

View File

@ -1,4 +1,3 @@
#!/bin/sh
export CFLAGS="-Os -mthumb"
export LDFLAGS="-mthumb"
export CFLAGS="-Os -mthumb -marm -march=armv6"
TARGET_ARCH=arm HOST_COMPILER=arm-linux-androideabi "$(dirname "$0")/android-build.sh"

3
dist-build/android-armv7.sh Executable file
View File

@ -0,0 +1,3 @@
#!/bin/sh
export CFLAGS="-Os -mfloat-abi=softfp -mfpu=vfpv3-d16 -mthumb -marm -march=armv7-a"
TARGET_ARCH=armv7 HOST_COMPILER=arm-linux-androideabi "$(dirname "$0")/android-build.sh"

View File

@ -1,2 +1,3 @@
#!/bin/sh
export CFLAGS="-Os"
TARGET_ARCH=mips HOST_COMPILER=mipsel-linux-android "$(dirname "$0")/android-build.sh"

View File

@ -1,2 +1,3 @@
#!/bin/sh
export CFLAGS="-Os"
TARGET_ARCH=x86 HOST_COMPILER=i686-linux-android "$(dirname "$0")/android-build.sh"