aboutsummaryrefslogtreecommitdiffstats
path: root/android
diff options
context:
space:
mode:
authorAlexey Tarasov <tarasov@dodologics.com>2009-09-01 02:07:51 +1100
committerJean-Baptiste Queru <jbq@google.com>2009-09-08 18:11:50 -0700
commit088232286a7814a92b5b0d4a34f243a2e857facc (patch)
treeff915e8834142b304953b751b5bb5b372f496c26 /android
parent37f0fd547e05c8bcfa59eee57c9988c1f3969fb1 (diff)
downloadexternal_qemu-088232286a7814a92b5b0d4a34f243a2e857facc.zip
external_qemu-088232286a7814a92b5b0d4a34f243a2e857facc.tar.gz
external_qemu-088232286a7814a92b5b0d4a34f243a2e857facc.tar.bz2
General changes to support freebsd system in building scripts
Diffstat (limited to 'android')
-rw-r--r--android/build/common.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/android/build/common.sh b/android/build/common.sh
index b22ef7d..565864f 100644
--- a/android/build/common.sh
+++ b/android/build/common.sh
@@ -88,6 +88,9 @@ case "$OS" in
Linux)
# note that building 32-bit binaries on x86_64 is handled later
OS=linux-$CPU
+ ;;
+ FreeBSD)
+ OS=freebsd-$CPU
;;
CYGWIN*|*_NT-*)
OS=windows
@@ -123,6 +126,8 @@ case $OS in
;;
darwin-*) HOST_OS=darwin
;;
+ freebsd-*) HOST_OS=freebsd
+ ;;
*) HOST_OS=$OS
esac
@@ -161,6 +166,7 @@ force_32bit_binaries ()
case $OS in
linux-x86_64) OS=linux-x86 ;;
darwin-x86_64) OS=darwin-x86 ;;
+ freebsd-x86_64) OS=freebsd-x86 ;;
esac
HOST_ARCH=x86
CPU=x86