AOGP bringup: update output zip package name

Custom version will be managed through common.mk
in vendor/cm repo.

Also CM_VERSION to AOGP_VERSION for terminal output

Change-Id: I83e9be448baad34198ca3550b89b2785db997f67
build: add 'KK' to output zip name

Change-Id: Ic9ad0d9410e942184dc41f31c16afaeafcdc17c3
CM/Build: f2fs support
build: allow mounting by partition name through edify

With more devices migrating over to emulated storage there is a need for
increased flexibility when mounting partitions. Edify scripts currently lack
the ability to mount emmc partitions by their labels, so busybox is used
as a reliable alternative.

This allows partitions to be mounted by name while still maintaining
compatibility with older recoveries.

To use define TARGET_SETS_FSTAB in the device's make files

Ported from Omni

Signed-off-by: k2wl <k2wl@github.com>

build: updater-script: Fix mount and format commands on

F2FS

Signed-off-by: k2wl <k2wl@github.com>

Fix typo
[2/2] build: add KK to custom version

Change-Id: I1bfa8af1262915fde3a0da33861d5d0b71188086
core: arm: Add support for GCC 4.8 and 4.9

Change-Id: I96bffffb4b0e16ef5bcedc85dedc70ca3dc2182f
build: Handle boot images with custom makefile 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.

Change-Id: I2661af9ac58af30bb9314b552775046d3abf44e0
BoardConfig.mk.template: Add TARGET_CPU_SMP

This one is easy forget if not in the template

Change-Id: If65e557a661ecc81c6bfc434525b3c9937ff988e
Specify -mcpu=cortex-a15 for krait CPU variants.

Bug: 11178216

Change-Id: I9922e4cd5ba27e3857798aae5c84299e26e054ea
build: Store no_separate_recovery flag in misc_info

This may be needed during a signing process.

Change-Id: I0ab6f0e615f64c0529e605c2fa62fabf1b1ec52b
core: arm: Use -O3 optimization inside TARGET_arm_CFLAGS

Change-Id: I224b62b3dada874d00a90258a1dcffcea09bc029
Edify: Add AssertSomeBaseband

Allow releasetools.py to assert a baseband version. Works just like
AssertSomeBootloader.

Change-Id: Ic8eb341cef1d777d983be25ba21a3bc545819c29
ota_from_target_files: Validate signatures after possible data wipe

If the data is being wiped, we want to validate the signature after
this step. This is also a good check that the data wipe succeeded.

Change-Id: Iaecfddfb2010944de0c97e7bb21d8e581f20deec
Fixed mounting /system when 'override_prop' is enabled.

Change-Id: I59f035498c2a2d65869cb7f7e6ea9e311b9757be

Conflicts:
	tools/releasetools/ota_from_target_files
Build: Add support for specifying build variant in brunch/breakfast

This little modification allows specifying build variant in brunch/
breakfast commands. For example we can use "brunch i9300 user" to build
user variant instead of default userdebug.

When no extra argument is given, userdebug is default.

Change-Id: I935327252098ee74b34a815a023d2ac6b9a53a30
Apply correct, optimized mfpu compiler flag for ARMv7-A Cortex CPUs

For those ARMv7-A Cortex CPUs that can handle VFPv4 floating point,
We can set "-mfpu=neon-vfpv4" instead of generic "-mfpu=neon"
to gain extra performance improvements.

References :
 - GCC		: https://gcc.gnu.org/onlinedocs/gcc/ARM-Options.html
 - Cortex A15	: http://www.arm.com/products/processors/cortex-a/cortex-a15.php
 - Cortex A9	: http://www.arm.com/products/processors/cortex-a/cortex-a9.php
 - Cortex A8	: http://www.arm.com/products/processors/cortex-a/cortex-a8.php
 - Cortex A7	: http://www.arm.com/products/processors/cortex-a/cortex-a7.php
 - Cortex A5	: http://www.arm.com/products/processors/cortex-a/cortex-a5.php

Change-Id: Id8b1a251234014ecf7ffbc1ae14455ed1726e028
Signed-off-by: Park Ju Hyung <qkrwngud825@gmail.com>
AOGP-fication

Conflicts:
	tools/roomservice.py

Change-Id: Ib02b31852c212c3abbd091ba8e073e30a707d0ee
build: Clean up use of vendor/extra

 * extra_config.mk is not needed anymore
 * Include BoardConfigExtra.mk if available

Change-Id: Icd0db0852ceee5cb5c701c9a40b829e1f3ebd69e
build: qcom: Set QCOM_*_PATH variables for hardware/qcom-* projects

This consolidates a bunch of one-off logic scattered throughout the
code base.  Usage in Android.mk files is trivial:

At top level, use e.g. "ifeq ($(call my-dir),$(QCOM_AUDIO_PATH))".
This works for all variants, including non-variants (i.e. AOSP).

Within subdirs, use e.g. hardware/qcom/audio => $(QCOM_AUDIO_PATH)

Change-Id: Iee2497ea9a7efeb4ae9e861b84c532b19da7b69d