| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
| |
This updates the build-kernel.sh script to be able to rebuild
the x86 goldfish kernel from sources using our NDK-compatible
toolchain. This is needed because the toolchain is configured
with -mfpmath=sse and -fpic by default, which we need to disable.
Because the kernel build system doesn't allow us to provide extra
compiler flags easily, we create a "magic" wrapper toolchain to
do it for us (see toolbox.sh)
Change-Id: Ie868497dc5543d1149c51f354daa567863b638dc
|
|
|
|
| |
Change-Id: I039cd6072795781a55d1f1280f9c2cf2d706b457
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
|
|
| |
Supports both arm and x86.
Change-Id: Ib4665eece4433f0a611b5420ef29785eeb26de1a
|
|
|
|
| |
Change-Id: I81567b512df04314d87dd3846b02d8895829937d
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Change-Id: Ieab047784761f8b9d0862b817319a903f26a4bf5
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
Force the minimum platform version to Leopard.
Change-Id: Ibfff1ad611e1f262b81a324a16a3a28f80ae9a17
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
This is not needed anymore.
Change-Id: Id41b71c95566804b92185282bb51e317efc67255
|
|\ |
|
| | |
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
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
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|