build: don't clear recovery ramdisk

Clearing recovery ramdisk removes all files place there by the
device tree and all busybox symlinks placed there by recovery

Change-Id: I19e6164856a01a83a6e2c50ef96742edcb9f570f
build: recovery: Support adding device-specific items

(cdesai): Also add the relevant parts from koush's
commit 7fd5a89df5ec3961c9aedfd2afad50d6d2561056
"Add initial support for charge mode. also support recovery/root in the device tree to easily copy props into recovery images."

Change-Id: I25205e68282680932917016646dabd1abadbfce6
Recovery: remove wiping of res folder

The rm -rf of the res folder wipes out all of the TWRP theme and
images. Remove this so that TWRP will work properly.

Change-Id: I27c372d53eaae3cc8b476a909c2d3f3fc4fcb558
build: Use project pathmap for recovery

Change-Id: I6339ac77b899a43db21261d587252b65cb58ad79
Don't stop if JDK version doesn't match

Change-Id: I5e77c70724c7d81544673715ed09e0a53ce32730
Remove all stops if using different make/openjdk-java version

Change-Id: I52c2709809a0c8304762fd9be9a320edf313f5fd
build: Allow to remove packages via REMOVE_PRODUCT_PACKAGES.

REMOVE_PRODUCT_PACKAGES can be used by device configurations to
remove default packages. (ex. to reduce system.img size)

Change-Id: I2fdf74b642ae3f32905b70903e883dda9f67cc3a
Edify: Add/Update abort messages for some asserts

* If a bootloader or baseband assert is not satisfied, print the
  versions that are supported by the package as well as the version
  on the device.

Change-Id: I958d49281c51bd4e60d596a727bb94cfc4a21909
build: Handle custom boot images properly

When a pre-built image should be used, it should be stored in the
target files zip so that it can be used with external signing
processes.

Original-Change-Id: I2661af9ac58af30bb9314b552775046d3abf44e0
Change-Id: I10b3bd0bb33489b8ffb26d16d002f8dd6ff405ad
core: Enable -mcpu=cortex-a8 flag for Scorpion cpu variant

To be used with
	http://review.cyanogenmod.org/#/c/77758/

Change-Id: I7ecc4707fa45bd7098165615c0521a12c85fb087
core: Enable -mcpu=cortex-a9 flag for Cortex-A9 cpu variant

Change-Id: I9294a518bcdc21ccbae72eadd9f3c1a12982d028
core: armv7-a-neon.mk: Add missing endif

Change-Id: Id6f9c952d01d3c980115a52605d9c86038b3b5bd
build: fix project pathmap with legacy repos

 some devices still use (display/media)-legacy. Enable those
 trees to be handled via project pathmap.
 Disable QCOM_BSP on legacy if BOARD_USES_LEGACY_QCOM_DISPLAY := true

Change-Id: I38b75ea49b3f7f5736eaaf9370bb72b2aaa42320
build: Allow 8610 8226 8974 to share QCOM HALs

default everything else (excluding 8084) to 8960.
added legacy calls

Change-Id: Idfbdc405a35c5ba518fc71c8b691fc177ddf9068
qcom_utils: Add qsd8k to qcom platforms

Change-Id: Id85569d1dd7be2f4c0620827da6d89e63b658aa9
build:  Fix Allow override of device asserts

There was a missed merge that caused this not to work

Change-Id: I70df2dc8c9ef93d424745d4ed5d06e2fd054433f