diff options
author | David 'Digit' Turner <digit@android.com> | 2010-05-18 17:02:33 -0700 |
---|---|---|
committer | David 'Digit' Turner <digit@android.com> | 2010-05-18 17:02:33 -0700 |
commit | 34d165185730eac6ddc4e7a23d192d22aa3d4dfb (patch) | |
tree | 8f65fdba4ae95ef1f4e96e5492943d581637cbce /distrib/build-emulator.sh | |
parent | 54808b6e68ab5be7d2a10b772f1ae4f569d542a1 (diff) | |
download | external_qemu-34d165185730eac6ddc4e7a23d192d22aa3d4dfb.zip external_qemu-34d165185730eac6ddc4e7a23d192d22aa3d4dfb.tar.gz external_qemu-34d165185730eac6ddc4e7a23d192d22aa3d4dfb.tar.bz2 |
Build SDL from sources directly.
This removes the requirement to build the SDL library before the rest
of the emulator. The prebuilt SDL library and installation is now optional
and is only kept for the full Android build on Linux (mainly to avoid having
to install many dev libraries on build servers).
This patch affects both the Android and standalone build systems.
The script android-configure.sh will not use a prebuilt SDL installation
unless you explicitely use --sdl-config=<script>.
Tested for linux-x86 / darwin-x86 / cygwin / linux-mingw builds.
Change-Id: If973b2ad199f06aeeff43aec387d1ac629487529
Diffstat (limited to 'distrib/build-emulator.sh')
-rwxr-xr-x | distrib/build-emulator.sh | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/distrib/build-emulator.sh b/distrib/build-emulator.sh index dad3dd1..e8d1749 100755 --- a/distrib/build-emulator.sh +++ b/distrib/build-emulator.sh @@ -26,13 +26,8 @@ fi # directory where we'll place the temporary SDL binaries LOCAL=$CURDIR/local -cd $CURDIR/sdl -if ! (ANDROID_QEMU_PATH=$CURDIR/qemu ./android-configure.sh --prefix=$LOCAL && make && make install); then - echo "ERROR: could not build SDL library, please check their sources" -fi - cd $CURDIR/qemu -if ! (./android-rebuild.sh --sdl-config=$LOCAL/bin/sdl-config); then +if ! (./android-rebuild.sh); then echo "ERROR: could not build the emulator, please check the sources" fi |