History log of /ndk/build/tools/build-host-sed.sh
Revision Date Author Comments
55111c42985ea973ab1053c37baa030210ba7f46 12-May-2013 Ray Donnelly <mingw.android@gmail.com> Call prepare_abi_configure_build before prepare_host_build

Because when cross compiling, prepare_host_build sets HOST_TAG
to the actual host (Windows or Darwin) and HOST_TAG is what
is used to determine ABI_CONFIGURE_BUILD.
7801cdebd6d91deb6c8ab1c457d22f9223d430cd 07-May-2013 Ray Donnelly <mingw.android@gmail.com> Add -D__USE_MINGW_ANSI_STDIO=1 for MinGW-w64 GCC build
Fix usage of ABI_CONFIGURE_BUILD in build-host-sed.sh
Add usage of ABI_CONFIGURE_BUILD in build-host-make.sh
to fix configure error.
bc39f1292bb162a6a238bb2aae533be6163745d9 26-Jan-2013 Andrew Hsieh <andrewhsieh@google.com> Only build lib/ and sed/

Don't need the rest. Besides, doc/Makefile may modify source
tree by updating version.texi, stamp-vti, and sed.info in
sources/host-tools/sed-4.2.1/doc

Change-Id: I578ce6e06dcd531414d9d23db424c87f582c3f3c
3b28972d8a5a108579496233266fccd69c9d2fe5 17-Jan-2013 Andrew Hsieh <andrewhsieh@google.com> Fix canadian build

1. Rename functions *_mingw_* to *_canadian_* to cover new
switch --darwin which define DARWIN=yes and expect toolchain
prefix at ${DARWIN_TOOLCHAIN}-
2. Add new flags CFLAGS_FOR_BUILD and LDFLAGS_FOR_BUILD
for "build". See https://android-review.googlesource.com/#/c/50032
and https://android-review.googlesource.com/#/c/50121
Now we can export LDFLAGS as well.
3. Add NATIVE_CC for awk which needs to run "maketab"
4. "Clean up" in build-ndk-stack.sh
5. Fix make-3.81 and sed-4.2.1 configure $CPP to take $CFLAGS as well
6. make-release.sh and rebuild-all-prebuilt.sh build darwin-x86 too
if ${DARWIN_TOOLCHAIN}-gcc is found

Change-Id: If0d1452990b705e0d62b9e8c6de8911296158533
dbc5c0a9543d928f74bcd403c4e658657e4cb740 06-Jan-2013 Andrew Hsieh <andrewhsieh@google.com> Add --host= and --build= to build-host-sed.sh

Otherwise in case of cross-compilation for windows, configure will
try to run a.exe and fail compilation if build system doesn't have
proper launcher (eg. WINE) in both 32 and 64-bit.

Change-Id: I88a998d366d89ac438315b35754957dbbd69be14
bf3f7295a6d9cb0a09dd8d950134abe5fa271ac9 05-Jun-2012 Pavel Chupin <pavel.v.chupin@intel.com> Fix windows cross NDK rebuild with mingw

Fix cross toolchain wrappers generation routine and add corresponding
calls per each tool. Tested on Linux Fedora with:
./build/tools/dev-rebuild-ndk.sh

Change-Id: Ib88c59d0b37d089e79f0dca76394e01a431d1e60
Signed-off-by: Pavel Chupin <pavel.v.chupin@intel.com>
1fa233aca1f45587a82bb7d3e85bf2368436d6a5 14-Oct-2011 David 'Digit' Turner <digit@google.com> build-host-sed.sh: Add --ndk-dir and --package-dir options

+ Allow build-host-{awk,make} to specify a new directory in
--package-dir

Change-Id: Ibdda77f993f771c9a29f5ac536a991f637a9ea4b
2397ae759e7f575437625c5d905cba3eafacb42c 07-Oct-2011 David 'Digit' Turner <digit@google.com> prebuilt-common.sh: add register_jobs_option

Change-Id: Ibed2026c0ff80041a4d024b7b15dc2c70240dc27
a6dfe5f70959a596290e1591579d26a288a1a2f9 23-Sep-2011 David 'Digit' Turner <digit@google.com> build-host-sed.sh: new script to build sed from sources

This patch adds build-host-sed.sh that can be used to rebuild
host versions of the sed tool, which will be placed under
prebuilt/<system>/bin/

This is mainly for native Win32 support, since we can't rely
on having a working sed in this environment.

A future patch will modify the NDK build system to use the
prebuilt binary automatically.

+ Add prebuilt/ to .gitignore
+ Remove prebuilt/ in dev-cleanup.sh

Change-Id: Ibe3561c189e90dde68023b7cbe1e9dc03dff1004