History log of /external/qemu/android/build/common.sh
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
bead081e026dc21d65afa0d8c024f0f4a748af9f 12-Jun-2014 David 'Digit' Turner <digit@google.com> resolve merge conflicts of 598e05b to master.

Change-Id: I1e393281f09fed776cf4d856f4858638287dd600
acf419ae0ea113758326604ea0aac77e070c742e 12-Jun-2014 David 'Digit' Turner <digit@google.com> android-configure.sh: Fix linker probe check.

Do not assume 'gcc' is a valid linker when cross-compiling.
This fixes an issue when trying to use a newer version of the
Windows w64 cross-toolchain.

Change-Id: I874b36e20146aebc9fb465e80d0a62945137b4e8
/external/qemu/android/build/common.sh
27e413296790de8ed7cf0b3eaf1972659690944a 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
(cherry picked from commit a96cc267b82bde959b1738fb679ee5ac964f3f5f)
/external/qemu/android/build/common.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/build/common.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/build/common.sh
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/build/common.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/build/common.sh
be7c3c544ba429acf6b98a98fc9e79a85d0de761 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/build/common.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/build/common.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/build/common.sh
04fcb22aa936b2ca326d6e1e35f97b7afb23a3de 23-Jun-2011 David 'Digit' Turner <digit@android.com> android-configure.sh: Better platform build detection.

Change-Id: I3de10b579507165160e93c644023ce06bc557ba7
/external/qemu/android/build/common.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/build/common.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/build/common.sh
80dd1261df980abf963b7f4a73f43c1102848706 09-Sep-2010 David Turner <digit@android.com> Add <fnmatch.h> check to android-configure.h
/external/qemu/android/build/common.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/build/common.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/build/common.sh
a3abe794b734382295b89d6c2d1d176ce4bb9b4b 15-Sep-2009 Jean-Baptiste Queru <jbq@google.com> merge from open-source master
088232286a7814a92b5b0d4a34f243a2e857facc 31-Aug-2009 Alexey Tarasov <tarasov@dodologics.com> General changes to support freebsd system in building scripts
/external/qemu/android/build/common.sh
5ad9febb1c7e08fe24413f9bd04f30d92b4cfa3a 21-Aug-2009 David 'Digit' Turner <digit@google.com> Fix EsounD audio backend and bump version number.

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.
/external/qemu/android/build/common.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/build/common.sh