releasetools: Add support for BML partition type

Needed for Samsung devices using proprietary FSR drivers.
Backported from gingerbread branch.

Change-Id: I59f9da9c4832f791f2e126257d2ed777d6104ad8
Allow low memory machine to build with a smaller java emulator.

This allows the default for 64 bit machines and adjusts the size
on lower memory machines. If you are on 32 bit you can't build
without this change, even using pae kernel with high mem.

Patch 5: found a better way to do this. Removed import string.
Change-Id: Iac1ef3b5db96029ca62897f6b64646bf6224e752
Add standard method for enabling mfpu and mcpu code optimization
build: add strip on kernel modules

kernel modules are huge for prima wlan and we need to strip them
unstriped size 40mb
striped size 2mb

Change-Id: Iefd572732cad0a6f608439618673068a3586fcd5
kernel: Ignore errors with module building

Let kernel fully disable loadable modules

Change-Id: Ia37ec927b092c041ee4c68bf9fd0f28b7339c8ca
Add new version to qcom_utils.mk

Change-Id: I1ca1532fd4968450715ecd0cca7729e0e6d507ef
build: Enable Bionic optimizations on Cortex platforms

 * Enable the new NEON optimizations in Bionic when
   TARGET_ARCH_VARIANT_CPU is set.
 * NEON memcpy() optimization is disabled on A15 due to a regression.

Change-Id: I4862695812a70b75bdabc4398cb592157f3913c6
build: move bionic optimizations to NEON makefile

Change-Id: Idd495ddbb49f67fef5496456803263f8a23643c5
build: Relax Cortex CFLAGS

 * Always set march=armv7-a
 * Use mtune instead of mcpu. Bad code is generated on A15 otherwise.

Change-Id: Idf8ced8eb0e9d3d4676ca8ec69bf56aed5533bf4
add unpackbootimg to otatools

Change-Id: I4e294c05eacc8bef8273247bcf1bf382291a3d31
This is causing generic_armv5-userdebug builds to fail. Commenting out for now to fix recovery build servers. Will fix properly later.

Change-Id: Ibe1cda8cd2b4c1914dfa3b8a29724c9069e047a6
build: display the full path of the installed libs, to allow copy paste

Change-Id: If897dc1784d7fb6991e0b22f8b25da19445b571c
Does not copy anything

Change-Id: Ic11859144c9ba226312fd70fb5697d43d49c1e7d
Fix up the get-file-size function that was broken due to the prior commit that made it utilize gnu stat (gstat)

Change-Id: I24bba2bfcb509ad1ad76d2260eedd685ba45c393
Use less heap space for dex on 32-bit build hosts

Run dex with -JXmx1024M instead of 2048M if running on a 32-bit host.
Surprisingly this appears to also work for framework and services; if
not, a little fine-tuning will be needed.

This does not change anything for non-32-bit hosts.

Change-Id: I1d87c3e394acc934af6f7770ea54ba265a1df838
Make the recovery ramdisk target depend on $(MKBOOTIMG) $(INTERNAL_BOOTIMAGE_FILES) rather than $(INSTALLED_BOOTIMAGE_TARGET). This fixes the circular dependency for when the kernel depends on the recovery ramdisk, which depends on the boot image, which depends on the kernel.

Change-Id: I658bedc329f2ea0170ac0012f80ca7d779b1c242
build: fix target header overlay

LOCAL_C_INCLUDES as defined by the makefile should be put AFTER
the overlay includes so the overlay always takes precedence.

Change-Id: I489b2aab6dbacd9122d834f85e07b63ed1271f07
Fix "build: display the full path of the installed libs, to allow copy paste"

When OUT_DIR is not "out", it'll show the wrong path, as the out dir
won't be under ANDROID_BUILD_TOP

This fixes commit 80970297312c426f326284e81869db8a2cf8a487.

Change-Id: Ie8610ec5e1e4ae570a64fba9168a686bfe929961
unpackbootimg: add a target specifically for unpackbootimg.
for some reason, and I am guessing this is a bug in the Android build, I can no longer run the following:
make -j32 out/host/darwin-x86/bin/unpackbootimg

It works if the build has been built, but not if it is clean. Somewhere within the bowels of AOSP
something broken in 4.1.2.

Change-Id: I4f8c434f3fce9ddaee4f54febba02efac07a31a3
fix sdk target with absolute OUT_DIR

Add / to atree's search path.

since I459a3b13 OUT_DIR is absolute. atree uses these variables and
due to "-I ." tries to resolve these paths as relative paths.

Change-Id: Ic9fbc84acdd9f438dfc813f6496e2c5e0d761976