History log of /external/qemu/android-configure.sh
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
9f86acc688f1545bc7b5213883e013188188941a 13-May-2014 David 'Digit' Turner <digit@google.com> android-rebuild.sh: Don't run unit test suite if wine is not installed.

When cross-compiling Windows binaries with --mingw option, check that
'wine' is installed. If not, print a warning, otherwise run the unit
test suite as usual.

Also add a --no-tests command-line option to disable running the test
suite, for debugging purposes.

Change-Id: I8710be80a3eca72f507034334329785c20041668
/external/qemu/android-configure.sh
a96cc267b82bde959b1738fb679ee5ac964f3f5f 12-May-2014 David 'Digit' Turner <digit@google.com> android-rebuild.sh: Add --out-dir=<path> option.

This patch adds an option to android-rebuild.sh and
android-configure.sh which allows one to specify a specific
output directory for all objects / binaries, instead of using
the default of 'objs' under the current source directory.

Tested for both regular and mingw builds.

Change-Id: I8c5ddfac8fb9899a2ff59a43e6cb5b9d8c45cef1
/external/qemu/android-configure.sh
295ef3d6aa2e55eb0e15c337403a336e2d0e09b8 30-Apr-2014 David 'Digit' Turner <digit@google.com> Fix MIPS emulation by disabling GCC 4.8

A previous patch switched the standalone toolchain to use
GCC 4.8, instead of 4.6 on Linux. Unfortunately, this breaks
MIPS emulation (Jellybean system image does not boot), and it's
really difficult to understand why.

This patch reverts the Linux toolchain to 4.6, note that this only
affects standalone builds (not platform ones).

Change-Id: I4d4c1bf3fdcd38fd8dbaffcb618319560511962c
/external/qemu/android-configure.sh
7891dd35fa2439a70f43ab8572778a398365bf24 28-Apr-2014 David 'Digit' Turner <digit@google.com> Support building with newest Mingw64 cross-toolchain.

This modifies android-configure.sh to detect the new Mingw64-based
cross toolchain (i.e. x86_64-w64-mingw32-gcc) and use it when it
is in the user's path.

Note that this only builds a 32-bit Windows binary, it just uses
a different toolchain to do it. A future patch will add support
for building both Win32 and Win64 binaries at the same time
(which the new toolchain supports).

Since this switches from GCC 4.2 to 4.8, this introduces a ton of
new warnings that require some cleanups in the sources too.

Only the most important warnings are fixed here.

Change-Id: Iec8c9b8332d4a38a2cb8acf368c8aa5341cf77be
/external/qemu/android-configure.sh
52ffef3ab8acdde157f1bf2a2933eca62a883ab5 28-Apr-2014 David 'Digit' Turner <digit@google.com> Upgrade to GCC 4.8 for Linux standalone build.

This patch modifies android-configure.sh to use the prebuilt 4.8
Linux host toolchain when available.

+ Fix a few sources to get rid of ugly compiler warnings.

Note: this works best with the following patch for the GPU
emulation libraries:

https://android-review.googlesource.com/#/c/92482/1

Change-Id: I7ae1c6cf2d58c2902affa36886bfa87956da622d
/external/qemu/android-configure.sh
f284e71a9dd25234dd10d87de13c7b60a9798918 27-Mar-2014 David Turner <digit@android.com> Merge "Try new host toolchain" into idea133
Auto-merge: 7c7a356

* commit '7c7a35623f62ef766e768ae716f770716714297c':
Try new host toolchain
7c7a35623f62ef766e768ae716f770716714297c 27-Mar-2014 David Turner <digit@android.com> Merge "Try new host toolchain" into idea133
abaca002309a7f6d7ac8153a86d0c486cef4736b 27-Mar-2014 David 'Digit' Turner <digit@google.com> resolve merge conflicts of 496eabe to master.

Conflicts:
vl-android.c

Change-Id: I06521c078a6750b3a5c942bbccad6ef1e21476db
3e3ff5a38f35f5b5ddb52896217db02b1d930258 14-Mar-2014 David 'Digit' Turner <digit@google.com> android-configure.sh: Fix --no-strip option.

Which is useful to debug crashes that only happen with the
optimized binaries, during refactoring.

Change-Id: Ib84ede690afcf93c06ef94c22670b86bd6698570
/external/qemu/android-configure.sh
7db680c60fd4aabd7f22a9690d4df3b01761e167 13-Mar-2014 Andrew Hsieh <andrewhsieh@google.com> Try new host toolchain

Fallback to the previous host toolchain if new one
can't be found.

Change-Id: Id7bba0bdc9ff4a691235937535907316ff83156a

Conflicts:
android/kernel/kernel_utils.cpp
/external/qemu/android-configure.sh
96ed653a4e942b03c8bf492881cea778bbf5c222 15-Mar-2014 David 'Digit' Turner <digit@google.com> Merge "Support GPU emulation standalone build." into idea133
Auto-merge: 58832a1

* commit '58832a1fc20a4be57480241e283163b9ee1d7442':
Support GPU emulation standalone build.
1af8215c58e5c94432f04ec87d34e429fe7cd7a6 03-Mar-2014 David 'Digit' Turner <digit@google.com> Support GPU emulation standalone build.

This patch modifies the emulator's standalone build system
to rebuild all GPU emulation libraries directly from sources,
assuming their are located under ../../sdk/emulator/opengl/
or ../opengl/

Change-Id: I2ac8fc4bc2d06561dc52298689840f74171397aa
/external/qemu/android-configure.sh
48fbbc097293db01bdfb3be6511a8a40451b4db0 07-Mar-2014 David 'Digit' Turner <digit@google.com> Cleanup HOST_LONG_BITS, HOST_I386 and HOST_X86_64

HOST_LONG_BITS is now computed automatically in
include/qemu-common.h so remove all the configuration/probing
that was required before this patch to get the correct value.

Also get rid of HOST_I386 and HOST_X86_64 since they are not
needed anymore.

Change-Id: I61823a896033e38938346242b7aea78d3e832826
/external/qemu/android-configure.sh
af061c540b1fe78626ef7d3923bb98e98483f0fd 28-Feb-2014 David 'Digit' Turner <digit@google.com> Build system refinements.

This patch contains changes to the standalone build system
that are preparing for the ability to build the GPU emulation
libraries directly from sources with it.

This requires several patches to said GPU emulation sources
though.

+ Add support for auto-generated C++ files.
+ Add support for host shared libraries.
+ Cleanup 64-bit build conditionals.
+ Build SDL and SDLmain as their own static libraries.

Change-Id: I88dca965d47432dc6b41428d39869f628632d33d
/external/qemu/android-configure.sh
5a0063fdbdea9723dd4d48d0059a01cb75b8cf01 28-Feb-2014 David 'Digit' Turner <digit@google.com> distrib/package-release.sh: Add PC Bios files.

This patch ensures that package-release.sh includes PC Bios
files under tools/lib/pc-bios/ in the generated binary packages,
when possible.

This makes the emulator binaries directly usable to emulate
x86 system images, which require these files.

Change-Id: I88df2f33cb0e417029feac71de101a1f038a37cf
/external/qemu/android-configure.sh
d2c0852277077455c30ec405d02db34f64b67381 26-Feb-2014 David 'Digit' Turner <digit@google.com> package-release.sh: Add --darwin-ssh=<host> option

It is now possible to package Darwin binaries from Linux,
using SSH to connect to a remote host where the build will
happen. To do so, use --darwin-ssh=<host>.

Alternatively, one can define ANDROID_EMULATOR_DARWIN_SSH
in its environment to get the same effect by default.

+ android-configure.sh: Always try to use the host ccache,
if available, if USE_CCACHE is not set to 0. Useful to
speed up remote builds.

+ android-configure.sh/android-rebuild.sh will strip all
generated binaries, unless --debug is used.

+ Properly cleanup temporary files created by android-configure.sh
to avoid polluting /tmp with android-<pid>-test* files.

Change-Id: If4147d35e55ca393463e2f1084841f02bac1fd63
/external/qemu/android-configure.sh
a10b316b82cde4a58bcba9d0dba2c392a8f17c0b 18-Feb-2014 David 'Digit' Turner <digit@google.com> New packaging script for sources and binaries.

This patch introduces a new script that can generate tarballs
for emulator binaries and sources.

See distrib/package-release.sh --help for details.

Note that for SDK official builds, it is recommended to perform
the build inside of an Android platform tree instead, to let
the standalone build system pick the correct prebuild SDK
toolchains, which ensure the generated binaries are compatible
with older Linux releases.

+ Make android-rebuild.sh more verbose in case of failure and
fix a bug where the 64-bit unit test suite was launched with
Wine under Linux (even though we don't generate 64-bit
binaries for Windows yet).

+ Fix host toolchain probing in android-configure.sh to ensure
that rebuilding the sources from scratch works even when not
in the Android platform build.

Change-Id: Ida3182061940360b495c720d10c0ff9b4bcc3549
/external/qemu/android-configure.sh
6aff02b9b67f734329c58db3c2da6304aeb770bf 18-Feb-2014 David 'Digit' Turner <digit@google.com> opengl: Simplify emulator build.

This patch simplifies the emulator build configuration to support
OpenGLES emulation. More precisely:

- Remove the include of <libOpenGLRender/render_api.h> and provide
the corresponding declarations in android/opengles.c in a way
that make them easy to call indirectly after using dlopen()/dlsym()
to resolve the symbols.

This makes the emulator much easier to build as a standalone
program (it now only depends on external/gtest, and that's only
for unit tests).

- Fix android-configure.sh to properly detect the location of
host libraries (it was broken for Windows). Also do not error
if the libraries cannot be found, since the emulator will simply
not enable GPU emulation if they are not available at runtime.

- Remove CONFIG_ANDROID_OPENGLES, QEMU_OPENGLES_INCLUDE and
QEMU_OPENGLES_LIBS from the build, since they are not needed
anymore.

Change-Id: Ifd300400df5833091e1f06e56d0507de2b973390
/external/qemu/android-configure.sh
494b129f77a2254e235244c605fe8a21f7188edd 05-Feb-2014 David 'Digit' Turner <digit@android.com> util/compatfd.c: upstream implementation.

Change-Id: I1b4eceddfe65d1112e007f9a440eeb2349e7d396
/external/qemu/android-configure.sh
910aea96b67d7f0357f586c47f20848ec435aa1b 15-Jan-2014 David 'Digit' Turner <digit@android.com> qapi: First integration of qapi definitions.

Brings headers (and some sources) related to the QEMU object
model up to date with regards to upstream. Note that this misses
several implementation files which are currently not used.

Also misses qemu/cpu.h since it defines CPUState in a completely
different way than our current sources.

Change-Id: I8ece10ff9fcab28cb2e7de3493be21b793b3c98a
/external/qemu/android-configure.sh
58c33adc06567875e1f6f3f4a7cdc77099b55881 19-Jan-2014 David 'Digit' Turner <digit@google.com> android-configure.sh: Fix GLES auto-detection.

If android-configure.sh didn't find GL emulation headers and
libraries, it would complain but fail to disable it for the
current build. This patch fixes this.
/external/qemu/android-configure.sh
a07421fecfcd0b34d60ff41da7a8621c92cbf220 18-Jan-2014 David 'Digit' Turner <digit@google.com> Fix OSX standalone build to use the right XCode SDK.

XCode changes the location of the SDKs, so use the same logic
as the platform build to detect it and select the "older" SDK
found on the machine.

+ Add missing configuration headers for the standalone
Darwin 64-bits build.

Change-Id: I27a0f533732123044d0598a17301985c24256c68
/external/qemu/android-configure.sh
f6f50078e3261143aba759697bc2787f9855a51f 14-Jan-2014 David 'Digit' Turner <digit@android.com> Build both 32-bit and 64-bit binaries in standalone build.

This only works for Linux and OS X builds for now, until
Windows 64-bit compilation is fixed.

+ Remove --arch=<name> and --try-64 flags to android-configure.sh
and android-rebuild.sh, since they're not needed anymore.

+ Remove the build of obsolete 'emulator-ui' and 'qemu-android-xxx'
programs. We don't need them for now, and it's likely things will
change a lot once we want to work on remote display / UI.

http://b.android.com/64805

Change-Id: I70be38d53650648f74323eb33284661a8bb77c88
/external/qemu/android-configure.sh
6cf45c1e45f70382d035de7df2c5b68c8f67cd38 08-Jan-2014 David 'Digit' Turner <digit@android.com> ccache: Support USE_CCACHE even in standalone build.

When USE_CCACHE is set to 1 in your environment, android-rebuild.sh
will use the 'ccache' binary in your PATH to cache compilations,
speeding up the build.

Note that this is already the case when performing a build within
the Android platform tree.

Change-Id: I04211db9e2217d4b82ed7346de7a441628adfa01
/external/qemu/android-configure.sh
bb76191f7ce66eff7aeba5f3a974b673de9ba26c 29-May-2013 Deepanshu Gupta <deepanshu@google.com> Fix a typo.

Fix a typo that resulted in a harmless message: "7: command not found"

Change-Id: If3643a31085a4fbfaf16b599558f7caa9172d98e
/external/qemu/android-configure.sh
741dc13597ac064e6a48bb2a6ec069cbc1cd0dbb 09-May-2012 Bhanu Chetlapalli <bhanu@mips.com> [MIPS] Add Goldfish target support

Basic Goldfish support for MIPS.

Also, Fix host CPU consumption when guest is idle

When the CPU is in wait state, do not wake-up if an interrupt can't be
taken. This avoid host CPU running at 100% if a device (e.g. timer) has
an interrupt line left enabled.

Also factorize code to check if interrupts are enabled in
cpu_mips_hw_interrupts_pending().

CPU consumption based on a patch from
Edgar E. Iglesias <edgar.iglesias@gmail.com>

Change-Id: Ie8371c8d0c9af1e0c8ba4cac419979350de0f5d9
Signed-off-by: yajin <yajin@mips.com.cm>
Signed-off-by: Douglas Leung <douglas@mips.com>
Signed-off-by: Bhanu Chetlapalli <bhanu@mips.com>
Signed-off-by: Chris Dearman <chris@mips.com>
/external/qemu/android-configure.sh
2c4c30e62aac9f55cf2287feb0ef6ed81c5430d3 11-May-2012 Vladimir Chtchetkine <vchtchetkine@google.com> Fix --no-gles config, and ease the pain of standalone emulator build

1. Apparently, emulator build fails when configured with --no-gles option due to
missing android_setPostCallback implementation.
2. It's painful to configure standalone emulator build WITH OpenGLES, since it requires
explicit using of --gles-include, and --gles-lib when launching android-configure.sh
To ease that pain, just use default location for standalone emulator build.

Change-Id: I2d9ed56d68a4ab1cb1ec294817f22dca80d33223
/external/qemu/android-configure.sh
b70acae117c40df87181fd0107b24b610d1737c5 08-May-2012 Andrew Hsieh <andrewhsieh@google.com> Fixed standalone emulator when ANDROID_BUILD_TOP is present

With ANDROID_BUILD_TOP android-configure.sh searches for prebuilt
directories later used for locating ccache. At this moment, ccache
is located in different location between AOSP and internal tree.
Beside, "prebuilt" is gone in internal tree.

Change-Id: Ib14b8c91c9f8026605617f2abf94c3bee9ddadb6
/external/qemu/android-configure.sh
183e927350a14945e13ab217e16ab5dce20349f3 27-Apr-2012 Jesse Hall <jessehall@google.com> Fix standalone emulator build.

- Allow building with OpenGL ES acceleration disabled, avoiding a
dependency on stuff outside the QEMU project.
- Allow the standalone configure.sh to provide the include/lib path
for the OpenGL ES libraries.
- Update the default OpenGL ES include path for standalone builds.

Change-Id: I03f4627af4c271783b65a116ceb5934385c68cdc
/external/qemu/android-configure.sh
c7389bd69e570a2c8432b37399aff1976b021f0f 13-Mar-2012 Andrew Hsieh <andrewhsieh@google.com> 64-bit emulator

Patch to allow emulator searches for emulator64-${ARCH} first on
64-bit OS. If none is found, the original behavior which searchs
for 32-bit emulator-${ARCH} is performed as usual.

64-bit emulator (which still emulates Android built in 32-bit) offers
up to 20% speedup compared to its 32-bit counterpart.

Details:

android/main-emulator.c
1) search emulator64 based on the OS
2) dlopen lib64OpenglRender in 64-bit

Makefile.*
1) Rules to build 64-bit executable emulator64-{x86,arm} and libraries
emulator64-{libui,libqemu,target-i386,target-arm,libelff,common}
2) remove -Wa,-32
3) Changes prebuit toolchain path

android-configure.h
android/build/common.h
1) no longer force 32-bit build (because now prebuilts/tools/gcc-sdk/gcc
can now handle 64-bit
2) set ANDROID_PREBUILTS to correctly locate ccache

android/config/*/config-host.h
1) Detect HOST_X86_64 and HOST_X86_64/HOST_I386

Misc 64-bit porting clean-up
1) use %zx to print variable of type size_t in hex
2) use %zu to print variable of type size_t in dec
3) Initialize query_parm to NULL
4) use PRIu64 to replace PDUd64
5) use PRId64/PRIu64/PRIX64 to print 64-bit
6) drop PRUx64 because PRIx64 does the same
7) cast pointer arith to intptr_t before casting to int
8) fixed 1ULL<<63

Change-Id: Ife62a20063a6ec38d4a9b23977e840af1fce149a
/external/qemu/android-configure.sh
aa1af37d8b3c3a21eb4cac4a225225425b50d08c 11-Jan-2012 Jean-Baptiste Queru <jbq@google.com> Revert "Reference new location of SDK toolchain"

This reverts commit 6e8d9298782ce4d5a7d506638ced4de0396735f9.
/external/qemu/android-configure.sh
6e8d9298782ce4d5a7d506638ced4de0396735f9 10-Jan-2012 Jean-Baptiste Queru <jbq@google.com> Reference new location of SDK toolchain

Change-Id: Id28db802a5401141a5ec1052de81dbee5033577f
/external/qemu/android-configure.sh
0c8c885155d120503a11b0903d3f20450763296b 24-Aug-2011 David 'Digit' Turner <digit@android.com> android-configure.sh: Add OpenGLES support

This patch modifies android-configure.sh in several ways:

- It adds --gles-include and --gles-libs options to point
to the location where one can find the headers and host
shared libraries required for OpenGLES emulation support.

- It also adds --no-gles to disable adding such support.

- In the case of a platform build, it auto-configs
--gles-include and --gles-libs for you.

- adds '#define CONFIG_ANDROID_OPENGLES 1" to the
auto-generated config-host.h file.

This is in preparation of more GLES-related patches.

Note that this does *not* add GLES emulation support to the
emulator itself, this will come later.

Change-Id: I42d93475d323334db1b585f61c963688c80a3f06
/external/qemu/android-configure.sh
a40266822068c89910567a91801247a24b08a46c 24-Aug-2011 David 'Digit' Turner <digit@android.com> Avoid conflicts with SDL_CONFIG variable.

Other Android.mk parsed before this one may define SDL_CONFIG
in an unexpected way. We only use this variable as input when
want to implement the --sdl-config option in ./android-configure.sh

Use QEMU_SDL_CONFIG instead to avoid issues.

Change-Id: I89d56284017c696227d7c66ea7d7b0acaa73a9ca
/external/qemu/android-configure.sh
280afa072a7b829e581d884c2b3276530a6014b7 11-May-2011 David 'Digit' Turner <digit@android.com> ramblocks: integrate upstream implementation (sophisticated)

Change-Id: I49e96e2d5ae571849b0b6fef0a30b41ecdee8d23
/external/qemu/android-configure.sh
826b985e543e12f83c396922d9c6562050e0f9f6 01-Jun-2011 David 'Digit' Turner <digit@android.com> android-configure.sh: fix KVM-enabled builds.

This patch ensures that CONFIG_KVM_GS_RESTORE is defined
in the auto-generated config-host.h. Does not affect normal
platform builds.

Change-Id: Ib064fd44d73e9b6e9b3e9349c1e72c060a83f38c
/external/qemu/android-configure.sh
ba313e080f0be3061b458075e8e66fc5ff700e3c 09-Feb-2011 David 'Digit' Turner <digit@android.com> android-configure.sh: Fix --cc=<compiler> option.

+ Fix LOCAL_GENERATED_SOURCES handling
+ Fix missing library dependencies for executables
+ Move generated library files to objs/libs/ (instead of objs/)

Change-Id: If3ebaa7ae856efa9bd3ff9e2c199389989db7f71
/external/qemu/android-configure.sh
5b2e7c44fe6add7408bf615b1147c11e6f29a81d 07-Feb-2011 David 'Digit' Turner <digit@android.com> Fix android-configure.sh

The latest patch broke the script because TARGET_ARCH is no longer
defined as it should. Use the --arch=x86 option to force an x86 build
(which currently fails though), arm being the default.

Change-Id: Ie5f508b2caa972620787fc268f8dccc02df65f2b
/external/qemu/android-configure.sh
334ab475d2f27dbf6fbf836c2d4fb86dbb02a15c 03-Feb-2011 Jun Nakajima <jnakajim@gmail.com> x86: Add x86 support. Rebase the change (20906/1) due to a minor conflict.

Change-Id: Ic73cca0fc6c6e5cf74f63daa6080d00aa7c392bb
Signed-off-by: Xiaohui Xin <xiaohui.xin@intel.com>
Signed-off-by: Yunhong Jiang <yunhong.jiang@intel.com>
Signed-off-by: Jun Nakajima <jun.nakajima@intel.com>
/external/qemu/android-configure.sh
e3650680f44fed0262d33eb4f486e5c1e58ddc32 22-Dec-2010 David 'Digit' Turner <digit@android.com> android-configure.sh: Use 32-bit toolchain if present.

This makes android-configure.sh probe for our custom 32-bit
toolchain. If found, it will be used unless you have defined
CC in your environment, use --try-64 or --cc=<compiler>

Change-Id: I40855378eaadf52daf004dab074e53b9df0262b5
/external/qemu/android-configure.sh
a7ef1ac760850dc2e45561ac3ad2e7f71507aeb3 10-Dec-2010 David 'Digit' Turner <digit@android.com> Do not try to run the audio config tests.

This actually prevents the script from working when using a cross-toolchain.

Change-Id: I9083cbb1fc78a9e5e3e569259ccdc7c87698ceef
/external/qemu/android-configure.sh
80bc5c8c7b9c50e8f302c22c2fba42dd6e8aa2df 20-Oct-2010 David 'Digit' Turner <digit@android.com> Fix incorrect orientation at boot.

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
/external/qemu/android-configure.sh
81f7429f25a555ae2d37d14c5c3843dd3621c22f 14-Oct-2010 David 'Digit' Turner <digit@android.com> standalone builds: windows executables end in .exe

This change only applies to the stand-alone build system. It ensures
that when one does the following under Linux:

./android-configure.sh --mingw
make

then, the Windows executables that are generated have their name
ending in .exe (e.g. objs/emulator.exe instead of objs/emulator)

This does not affect the Android build system which already does the
right thing (and is used to build SDK binaries).

Change-Id: If9597e550f0bceec04d334eb84199a0f024a3fdf
/external/qemu/android-configure.sh
17d313248175f0905f46b5761dbed249e5e984f5 05-Oct-2010 Marcus Comstedt <marcus@mc.pp.se> Fix detection of host endianness

The host endianness in android-configure.sh was backwards (assuming
that HOST_BIGENDIAN=1 means that the host is bigendian). However,
the script also failed to use the result, which is probably why
nobody noticed. Now, HOST_WORDS_BIGENDIAN is defined in
config-host.h if HOST_BIGENDIAN is 1.

Change-Id: Ied07f9db76c24e5ce403ae17fde5df7f50fafe8a
/external/qemu/android-configure.sh
b8fec3e556b0d1b2a66c76d6ec0a9b242baa1068 09-Sep-2010 David Turner <digit@android.com> upstream: bswap.h

+ add a <machine/bswap.h> probe to android-configure.sh
/external/qemu/android-configure.sh
80dd1261df980abf963b7f4a73f43c1102848706 09-Sep-2010 David Turner <digit@android.com> Add <fnmatch.h> check to android-configure.h
/external/qemu/android-configure.sh
e92bc56ef89ab8b51c4c89d4d9779b64e9491b9b 07-Sep-2010 David 'Digit' Turner <digit@android.com> Add new "qemu monitor" command to the console.

This allows you to access the QEMU virtual machine monitor directly
from the console (instead of playing with the command-line to do it).

The implementation of the 'quit' command has been modified to simply
close the connection, instead of stopping the emulator program.

This patch introduces changes that allow a console session to be
detached and redirected at runtime to other internal services of
the emulator program. This will be useful in the future to implement
other features.

+ doc typo
+ add proper definitions for CONFIG_ANDROID on config-host.h
+ remove obsolete sysdeps.h dependency in android/console.c

Change-Id: If16cfe41c12a26eb8f56e3a9c24452eafa5efab4
/external/qemu/android-configure.sh
415a4b1f54f896bf28abe1beb2d8005a3d98f531 28-Jul-2010 David 'Digit' Turner <digit@android.com> Add a PulseAudio audio backend for Linux.

Change-Id: Ifaf876c41ab6c7275ba7d1dc8e12139f62840cd6
/external/qemu/android-configure.sh
377eb2c7c762db6e28fa273ac7e4747a7c9e037e 21-May-2010 David 'Digit' Turner <digit@android.com> Enable --mingw option in android-configure.sh

This should ease testing of the Windows build during development.

Change-Id: I45cc9e396a0e82d764cf7a27fd40ad7c5367c51a
/external/qemu/android-configure.sh
34d165185730eac6ddc4e7a23d192d22aa3d4dfb 19-May-2010 David 'Digit' Turner <digit@android.com> 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
/external/qemu/android-configure.sh
fd3b1a0e32964436a5259e073857e0c4e2110122 11-May-2010 David 'Digit' Turner <digit@android.com> Upstream: add qemu_fdatasync()

Change-Id: I232b9c4df372e1fded97694fffcd72ef9ea113c4
/external/qemu/android-configure.sh
3d66dc7c08acb3802bf803abca68ac5fb36582b4 28-Jan-2010 David 'Digit' Turner <digit@google.com> Upstream: HAVE_IOVEC => CONFIG_IOVEC

Change-Id: I18025d9c154a02af5d6298c7d7f72fc9f2c1c5d7
/external/qemu/android-configure.sh
2c538c86c15d597cc875dc926e4e39285c5625df 11-May-2010 David 'Digit' Turner <digit@android.com> Upstream: Use CONFIG_BSD instead of _BSD and HOST_BSD

Also fix OS X build, which failed with a link error.
Change-Id: Idd63f25dc1f46ea66da5727c7577def34f048c3c
/external/qemu/android-configure.sh
ab873b750621bca7eef41869c685dec8c363333a 09-Mar-2010 David 'Digit' Turner <digit@google.com> Add --static option to android-configure.sh in order to build static emulator executable.

This is needed to run the emulator in restricted environment where libX11.so and even
libstdc++.so are not available. Only tested on Linux. The resulting binary will not
start unless you use -no-window. Also don't expect any audio output working.

Change-Id: Ia736898cd3ae6eb928614a00a1a3e18cc8086a5c
/external/qemu/android-configure.sh
51e8424b90a592619034f13b162cb5f6d0fee3d0 04-Dec-2009 David 'Digit' Turner <digit@google.com> am dc3dd741: am a383d02c: Extract emulator major version number from SDK Tools package revision.

Merge commit 'dc3dd741551c323bb853782656c0d693db98ecdc' into eclair-mr2-plus-aosp

* commit 'dc3dd741551c323bb853782656c0d693db98ecdc':
Extract emulator major version number from SDK Tools package revision.
a383d02cb57dd7dadd382654175e51354073a139 03-Dec-2009 David 'Digit' Turner <digit@google.com> Extract emulator major version number from SDK Tools package revision.

The minor version number is now always 0, this makes the next
version number "5.0" currently in the eclair branch.
/external/qemu/android-configure.sh
c00d702076d1c3f5d0c33f522d0743593c0c3cd4 09-Oct-2009 David 'Digit' Turner <digit@google.com> am 73b9926f: Merge change If4f13b68 into eclair

Merge commit '73b9926fd43c9b5cd00319c5d117448bd1b31112' into eclair-plus-aosp

* commit '73b9926fd43c9b5cd00319c5d117448bd1b31112':
Fix upstream ARM emulation bug that broke singlestep mode.
3af4f6ae1fa6e06de1284fa1143cb8a485ac6437 09-Oct-2009 David 'Digit' Turner <digit@google.com> Fix upstream ARM emulation bug that broke singlestep mode.

This fixes a really bad bug in the Thumb/Thumb2 ARM emulation related to
conditional instructions execution. The issue was that the previous
implementation did break badly if a page fault occured during the conditional
instruction's emulation. Giving an example if probably the best way to demonstrate
this. Consider the following two instructions:

itt eq
streq r0,[r4, #0]

These two instructions mean, respectively:
- If the Z flag is set, execute the next instruction. Otherwise ignore it
- Store the value of r0 at the address pointed to by r4

In single-step mode (used when debugging the emulator), each instruction is
separately JIT-ed and executed in a different pass. The 'condexec_bits' field
of the CPU state if used to store flags corresponding to the conditional
execution of up to 4 next instructions.

When the first instruction is executed, it simply sets 'condexec_bits' to a
specific value (4).

When the second instruction is executed, things get slightly bit more funky
because what happened was the following:

- the JIT-ed code started by clearing the 'condexec_bits' right at the
start of its sequence (a comment says "to avoid complications trying to
do it at the end of the block", famous last words...)

- a conditional test, based on the current value of the Z flag was added
to skip over the rest of the instruction sequence

- the store itself is implemented through a call to the __stl_mmu helper
function.

The thing is that __stl_mmu may implement a *page fault* (i.e. when the
address in r4 hasn't been commited to memory yet) which requires a switch
to kernel mode (to populate the page), then going back to the instruction's
execution.

This is done in the current implementation by re-running the JIT-er for the
same instruction, however, since 'condexec_bits' was already cleared to 0,
the new JIT-ed code sequence doesn't have the conditional test to skip over
the store. The conditional instruction has been transformed into a
non-conditional one due to the page fault ! This results in either bad behaviour
or, even a crash in the emulator.

The patch fixes the clearing of condexec_bits to happen as it should, i.e.
only when execution has really cleared it.

This is preliminary work to fix the -trace option.

Also, disable the IO Thread when running the standalone emulator. This makes
debugging much easier since everything happens in a single thread.
/external/qemu/android-configure.sh
497d910c85598a75cc2be2ea932c44036c854fc3 15-Sep-2009 Jean-Baptiste Queru <jbq@google.com> resolved conflicts for merge of 5d8f37ad to eclair-plus-aosp
5d8f37ad78fc66901af50c762029a501561f3b23 14-Sep-2009 David 'Digit' Turner <digit@google.com> Merge upstream QEMU 10.0.50 into the Android source tree.

This change integrates many changes from the upstream QEMU sources.
Its main purpose is to enable correct ARMv6 and ARMv7 support to the
Android emulator. Due to the nature of the upstream code base, this
unfortunately also required changes to many other parts of the source.

Note that to ensure easier integrations in the future, some source files
and directories that have heavy Android-specific customization have been
renamed with an -android suffix. The original files are still there for
easier integration tracking, but *never* compiled. For example:

net.c net-android.c
qemu-char.c qemu-char-android.c
slirp/ slirp-android/
etc...

Tested on linux-x86, darwin-x86 and windows host machines.
/external/qemu/android-configure.sh
088232286a7814a92b5b0d4a34f243a2e857facc 31-Aug-2009 Alexey Tarasov <tarasov@dodologics.com> General changes to support freebsd system in building scripts
/external/qemu/android-configure.sh
d68b48725d720a06b24932b170f528929856f3db 24-Jul-2009 David 'Digit' Turner <digit@google.com> Fix ANDROID_SDK_HOME handling on Unix (the env. var was ignored)

Bump version number to 1.11 in android/android.h
Update CHANGES.TXT to reflect SDK 1.5_r3 changes
Update some comments in android/boot-properties.[hc]
Add a --debug option to android-configure.sh (and android-rebuild.sh)
to build a unoptimized debug version of the standalone emulator binary.
/external/qemu/android-configure.sh
46be48730333120a7b939116cef075e61c12c703 04-Jun-2009 David 'Digit' Turner <digit@google.com> Add our modified SDL sources under distrib/sdl-1.2.12
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
/external/qemu/android-configure.sh
92c7311b1cb354745ec7b59b0e03910b3fe4c205 05-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@136594
/external/qemu/android-configure.sh
8b23a6c7e1aee255004dd19098d4c2462b61b849 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/external/qemu/android-configure.sh
f721e3ac031f892af46f255a47d7f54a91317b30 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/external/qemu/android-configure.sh
c27f813900a3c114562efbb8df1065e94766fc48 11-Feb-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@130745
/external/qemu/android-configure.sh
c2db2b6accc7888df514261a7240e7759df95a4c 10-Jan-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@125939
/external/qemu/android-configure.sh
df7881f07f53b041dc0568be8528e9dbb74994cc 18-Dec-2008 The Android Open Source Project <initial-contribution@android.com> Code drop from //branches/cupcake/...@124589
/external/qemu/android-configure.sh