History log of /ndk/build/tools/build-host-prebuilts.sh
Revision Date Author Comments
8e58e6b10c9c82e2085420b0e2f4c82d1db9b5c3 14-Aug-2012 Logan Chien <loganchien@google.com> Add build script for LLVM/Clang.

Change-Id: Idd89e27733ff221ab2ff9aaca98500f8146e48b9
aed73a4495adbed0d4e398598344b68eda1a349f 07-Aug-2012 Andrew Hsieh <andrewhsieh@google.com> Remove redundant \r from Windows prebuilt echo.exe

The redundant \r in gdb.setup fails GDB because it
incorrectly becomes part of path.

Related issue:
http://code.google.com/p/android/issues/detail?id=36054

Change-Id: I34a48ab83626671b2ffb68c110dd287b027b5ea8
09a968eb0b25413ccc5cce15d04216a630e85631 09-May-2012 Ray Donnelly <mingw.android@gmail.com> Fix --try64 (should be --try-64)
f7e74d4ece211f975f6bfc90132e26a6048b79f1 06-Mar-2012 David 'Digit' Turner <digit@google.com> preliminary work to support multiple toolchains

This patch provides some changes that allow the NDK build scripts
to suport building the files corresponding to multiple toolchains
for a given architecture.

While this is not enabled for now, this is to allow building
both 4.4.3 and 4.6 in the near future.

Change-Id: I4f9c886073bc816f9353fa2fceea819179c92f04
612e5d967db47c99996511a9e78f7c29d2dbdc67 10-Nov-2011 Nick Kralevich <nnk@google.com> expand error messages.

Add information to the error messages to make it easier to
determine what went wrong when the scripts error out.

Change-Id: I6c30f35f408beabec3c375b28499552dddb3743e
ad1afc5e66ab40201947a3178eba975515b0d73c 14-Oct-2011 David 'Digit' Turner <digit@google.com> Add win32 native build support

This patch is adds support to "native" (i.e. Cygwin-less) Windows
NDK build through the new 'ndk-build.cmd' Windows shell script.

Just call it from the cmd.exe command-line, when in your project
path. The script takes the same arguments than 'ndk-build'.

+ Adds the source of a new tiny Windows-specific command-line
"echo" program. The reason for this is that the 'echo' that
comes with cmd.exe is too weird and will not work properly
when invoked from make (e.g. it can't deal with double-quoted
strings properly: it will print the double-quotes in the
output).

+ build/tools/build-host-toolbox.sh: new script to rebuild the
'echo' program on Windows. The idea is that the 'toolbox' may
contain other command-line programs like "cp" or "mkdir" in
the future, to avoid relying on the not-so-robust cmd.exe
versions of these commands (del, md, xcopy), if necessary.

+ Make build-host-prebuilts.sh call build-host-toolbox.sh
when generating Windows binaries, and package-release.sh
unpack the corresponding archive when generating the
Windows packages.

+ build-funcs.sh can now be used to build host binaries too.

+ docs/CHANGES.html: document new native win32 build support.

Change-Id: I4d30f6c6532ae84deb95e7e5f595af76b97d9257
1c663b4a2961e4c9bde69eb740327083bbc92ed8 14-Oct-2011 David 'Digit' Turner <digit@google.com> build-target-prebuilts.sh: new script

This patch adds a new script that can be used to rebuild
all target prebuilts at once. This assumes that you have run
build-host-toolchain.sh previously (and thus have all cross
toolchains installed in your NDK directory).

+ Add check_toolchain_src_dir in prebuilt-common.sh and modify
other scripts to use it.

+ Add missing --sysroot compiled flags in builder-funcs.sh

Change-Id: I75ee8d6dffb9fba3155b71a291b1f9240e02f76f
5c1b54f8aa498659c154a5cb909d0e19a9b63e92 14-Oct-2011 David 'Digit' Turner <digit@google.com> build-host-prebuilts.sh: Build make/awk/sed by default.

Change-Id: I3c922b7bc60d9e798cace291c28f772ebf12aea1
1c855558c00aaf7f8f86335b605e7b78d8a17172 13-Oct-2011 David 'Digit' Turner <digit@google.com> build-host-prebuilts.sh: Minor fixes

This patch prevents the script from crashing when the package
directory does not exist (this is required for the --darwin-ssh
build).

Also fixes utility function call which name changed recently.

Change-Id: Ib409380e61b521f869c1104217e1039d7ce827f7
d9bb7ebc331f10c98f5c5513fc8d9e5daf12c6e6 13-Oct-2011 David 'Digit' Turner <digit@google.com> build-ndk-stack.sh: Fix the script

This makes the script work again. Also adds --package-dir
and --ndk-dir options to it.

Change-Id: Ib50d169dabdfc40a3875163e1517b8d6b3269447