arm: Allow disabling PIE for dynamically linked executables

PIE can and does break some binaries that were built without it,
resulting in relocation-related issues (addressing memory
wrongly assumed to be at a fixed position).

Use this as a last resort measure for compatibility with pre-JB
binary blobs, and only if confirmed to fix a broken executable.
If you're not sure, do NOT enable this on a device.

Change-Id: I3b7001e682a6f7a845e62278fe2afa9ccf5552a4

Conflicts:
	core/combo/TARGET_linux-arm.mk

Conflicts:
	core/combo/TARGET_linux-arm.mk
arm: Drop linker script when building without PIE

The current section headers generated by bionic are incompatible
with this (interp is in, ctors were dropped, and other tiny changes
related to Elf32_Dyn). But... we don't actually need this to
disable PIE, so drop it entirely instead of writing a new one.

Change-Id: I3b350a9f6251e60bf52114343d190f3d6d83b216
fix BOARD_CUSTOM_BOOTIMG_MK

Conflicts:
	core/Makefile

Conflicts:
	core/Makefile
make liquid and custom releasetool (for squished zips)

Change-Id: I4f61b6a6b9b8bab8582fa5423c4134c07af17606

Conflicts:
	core/Makefile
build: Run squisher for the liquid target

Change-Id: If33402a5eb1661345c7d37ec1778742096449c70

Conflicts:
	core/Makefile

Conflicts:
	core/Makefile
fix derp
Add ro.liquid.device to build.prop

As requested by Ricardo Cerqueira:
http://r.cyanogenmod.com/#change,11423,patchset=1

Change-Id: If08cc13c0f0e92e0dd262a2f71610070a54aaead

Conflicts:
	core/Makefile
	tools/buildinfo.sh
build: Don't build the recovery-from-boot patch

 * We don't use this, and I am running into a weird bug where imgdiff is
   hanging on a specific target. Just disable it for now.

Change-Id: I25ee666136e25994528eaa32b6f787626cd288ed

Conflicts:
	core/Makefile
Revert "Overide define INSTALLED_BOOTLOADER_MODULE If board has locked"

This reverts commit 7f0598b2ec31f6b49c69a8ee1b2770ed44956e43.

Conflicts:
	core/Makefile
	target/board/Android.mk
Fix global selinux policy inclusion

We're adding CM-specific policies to an overlay instead of patching
external/sepolicy, so we need to make sure it's included to prevent
misbehaving systems

Change-Id: I7989a1093f9abc8360d492e73a860eb4afad10ad

Conflicts:
	core/config.mk
Show liquid & gcc version when starting build

Conflicts:
	core/dumpvar.mk
Use our traditional dalvik threshold value
Support for devices that use liquid makefiles

Conflicts:
	core/product_config.mk
remove some packages
Import the classic ota updater script

Conflicts:
	tools/releasetools/ota_from_target_files
envsetup: mka and reposync functions

    Add specific functions (mka, reposync)

Change-Id: If28a5a206b8bb9ead5242c60f6c1e6af27141b57

Conflicts:
	envsetup.sh
envsetup: include bash completion script from vendor

Change-Id: Id90d84748df41d6626dfd46befabe0054c6d14e7

Conflicts:
	envsetup.sh
build: fix bash completion sourcing

Sourcing functions in files from a function within a file being
sourced was giving bash a hard time. This fixes 'repo' command tab
completions.

Change-Id: Iac1b3078e20749fb474ed1270e0886cf435e24d9

Conflicts:
	envsetup.sh

Conflicts:
	envsetup.sh
Add build support for liquid devices

Conflicts:
	envsetup.sh
Fix build envsetup shell script

Conflicts:
	envsetup.sh