aboutsummaryrefslogtreecommitdiffstats
path: root/distrib
Commit message (Collapse)AuthorAgeFilesLines
* Improve emulator kernel rebuild script.David 'Digit' Turner2011-03-091-22/+86
| | | | | | | | | | - Add support for building on darwin-x86 - Automatically finds the cross-toolchain (arch-dependent) if --cross=<prefix> is not used. - Add "Auto-config: <option>" message to indicate what was automatically configured - Select appropriate names for output files - Print their name on the terminal in case of success Change-Id: I908392083bf724a426d5029dc0a7dd29e045c7a4
* Add kernel-rebuilding script for the emulator.David 'Digit' Turner2011-03-051-0/+150
| | | | | | Supports both arm and x86. Change-Id: Ib4665eece4433f0a611b5420ef29785eeb26de1a
* Fixing the standalone build of the emulator.Stefan Hilzinger2011-02-222-3/+3
| | | | Change-Id: I81567b512df04314d87dd3846b02d8895829937d
* Fix incorrect orientation at boot.David 'Digit' Turner2010-10-201-6/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The goldfish kernel's event driver is very picky about the state of the virtual device it talks to. Essentially, it can only listen to h/w events if the corresponding IRQ is raised _after_ it has completed some initial setup. If the IRQ is raised before, the driver will refuse to listen to events, and any interaction becomes impossible. We changed the way our UI windows are built and managed previously, and this had the unfortunate effect of sending one h/w event too soon, which, in the old code, would raise the IRQ prematurely. This resulted in an input freeze. To work around this the UI code was modified to not send the initial h/w event, but this resulted in bad orientation of the home screen at the end of the boot sequence. This change allows the virtual device to wait for the kernel driver before raising the IRQ, in the case any h/w event has been buffered. It also removes the hack in the UI code, allowing the send of the initial h/w event at startup. BONUS MINOR CHANGES: EsounD probe: fix error message. console: fix compiler warnings libpng: proper handling of MMX support. android-configure.sh: fix --ignore-audio handling The option didn't do anything if the audio development packages are properly installed on the system. Change-Id: Ib134158873d5cb72290c9676d92d20233226c889
* Don't build MMX stuff on PowerPCMarcus Comstedt2010-10-051-1/+5
| | | | Change-Id: Ieab047784761f8b9d0862b817319a903f26a4bf5
* Remove compiler warnings when building the emulator.David 'Digit' Turner2010-09-221-2/+0
| | | | | | | This forces -Wall during the build. Note that this patch doesn't remove all warnings, but most of the remaining ones are from upstream anyway. Change-Id: I8808d8495e99866e156ce5780d2e3c305eab491f
* Make the emulator build on Snow Leopard.Jeff Hamilton2010-06-031-2/+2
| | | | | | Force the minimum platform version to Leopard. Change-Id: Ibfff1ad611e1f262b81a324a16a3a28f80ae9a17
* Build SDL from sources directly.David 'Digit' Turner2010-05-189-722/+254
| | | | | | | | | | | | | | | | 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
* Disable audio support in our custom SDL build.David 'Digit' Turner2010-05-145-19/+8
| | | | | | This is not needed anymore. Change-Id: Id41b71c95566804b92185282bb51e317efc67255
* merge from open-source masterJean-Baptiste Queru2009-09-151-0/+126
|\
| * Added SDL_config.h to use on FreeBSDAlexey Tarasov2009-09-081-0/+126
| |
* | Fix EsounD audio backend and bump version number.David 'Digit' Turner2009-08-211-12/+11
|/ | | | | | | | | | | | | | | | | | | | | The original esdaudio.c file from upstream contains a nasty race condition that can be triggered when the emulator exists while the audio record thread is in a blocking read() call. In this case, exit() will end up calling esd_fini_in which will try to pthread_join() the blocked thread, resulting in a dead-lock. This change just gets rid of the helper threads and just performs audio output and input in the main event loop, avoiding blocking i/o completely. I haven't experienced any difference compared to the original one, be it in audio lag or CPU usage when playing a simple MP3 file in the emulated system. The change also updates the update-audio.sh script since we don't store our sources in p4 anymore. A small fix in common.sh deals removes an obsolete special case that is not needed anymore when determining the location of the host prebuilt binaries. The version number is also bumped to 1.12 and CHANGES.TXT updated accordingly.
* Add our modified SDL sources under distrib/sdl-1.2.12David 'Digit' Turner2009-06-08663-560/+181792
| | | | | | Fix distrib/make-distrib.sh script to work with git Fix distrib/build-emulator.sh to accomodate for new SDL configure script Handle Tiger SDK usage in SDL configure script
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-0352-0/+48664
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-0352-48664/+0
|
* auto import from //branches/cupcake/...@130745The Android Open Source Project2009-02-101-2/+4
|
* auto import from //branches/cupcake/...@127436The Android Open Source Project2009-01-221-5/+15
|
* Code drop from //branches/cupcake/...@124589The Android Open Source Project2008-12-171-2/+0
|
* Initial ContributionThe Android Open Source Project2008-10-2152-0/+48654