diff options
author | Vladimir Chtchetkine <vchtchetkine@google.com> | 2011-02-07 10:29:00 -0800 |
---|---|---|
committer | Android Code Review <code-review@android.com> | 2011-02-07 10:29:00 -0800 |
commit | 9af6946145bea73b16f1a128838048b917474f27 (patch) | |
tree | 6bd97e12db2dab82ca4eefa1f48f360eea360c8c | |
parent | 7e539645fe3aa7eb5f9f8e5659b324510ebed25e (diff) | |
parent | 5b2e7c44fe6add7408bf615b1147c11e6f29a81d (diff) | |
download | external_qemu-9af6946145bea73b16f1a128838048b917474f27.zip external_qemu-9af6946145bea73b16f1a128838048b917474f27.tar.gz external_qemu-9af6946145bea73b16f1a128838048b917474f27.tar.bz2 |
Merge "Fix android-configure.sh"
-rwxr-xr-x | android-configure.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/android-configure.sh b/android-configure.sh index 9af5c3a..a36ece7 100755 --- a/android-configure.sh +++ b/android-configure.sh @@ -29,6 +29,8 @@ OPTION_MINGW=no HOST_CC=${CC:-gcc} OPTION_CC= +TARGET_ARCH=arm + for opt do optarg=`expr "x$opt" : 'x[^=]*=\(.*\)'` case "$opt" in @@ -63,6 +65,8 @@ for opt do ;; --static) OPTION_STATIC=yes ;; + --arch=*) TARGET_ARCH=$optarg + ;; *) echo "unknown option '$opt', use --help" exit 1 @@ -81,6 +85,7 @@ EOF echo " --help print this message" echo " --install=FILEPATH copy emulator executable to FILEPATH [$TARGETS]" echo " --cc=PATH specify C compiler [$HOST_CC]" + echo " --arch=ARM specify target architecture [$TARGET_ARCH]" echo " --sdl-config=FILE use specific sdl-config script [$SDL_CONFIG]" echo " --no-strip do not strip emulator executable" echo " --debug enable debug (-O0 -g) build" |