From 2c48c844d4cff527736c346bc50d122bf0bce193 Mon Sep 17 00:00:00 2001 From: Sergey Shatunov Date: Mon, 24 Feb 2014 17:16:35 +0800 Subject: [PATCH] Split for armv6 and armv7 archs in buildscripts --- dist-build/android-arm.sh | 3 +-- dist-build/android-armv7.sh | 3 +++ dist-build/android-mips.sh | 1 + dist-build/android-x86.sh | 1 + 4 files changed, 6 insertions(+), 2 deletions(-) create mode 100755 dist-build/android-armv7.sh diff --git a/dist-build/android-arm.sh b/dist-build/android-arm.sh index 792c81ce..04be368c 100755 --- a/dist-build/android-arm.sh +++ b/dist-build/android-arm.sh @@ -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" diff --git a/dist-build/android-armv7.sh b/dist-build/android-armv7.sh new file mode 100755 index 00000000..c6280b86 --- /dev/null +++ b/dist-build/android-armv7.sh @@ -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" diff --git a/dist-build/android-mips.sh b/dist-build/android-mips.sh index 74c8da6b..0fb04312 100755 --- a/dist-build/android-mips.sh +++ b/dist-build/android-mips.sh @@ -1,2 +1,3 @@ #!/bin/sh +export CFLAGS="-Os" TARGET_ARCH=mips HOST_COMPILER=mipsel-linux-android "$(dirname "$0")/android-build.sh" diff --git a/dist-build/android-x86.sh b/dist-build/android-x86.sh index 669cca10..428511bd 100755 --- a/dist-build/android-x86.sh +++ b/dist-build/android-x86.sh @@ -1,2 +1,3 @@ #!/bin/sh +export CFLAGS="-Os" TARGET_ARCH=x86 HOST_COMPILER=i686-linux-android "$(dirname "$0")/android-build.sh"