build: edify: fix multiple device assert

Only generate one error message since multiple error message
will trigger a fail if the device does not match the first
assert

Change-Id: I1dc47cce10032eb28bbb808482b5ee9efc3b87bc
build: Prevent some auto-generated variables from being overridden

These variables are used by internal processes for build indexing
and identification, and those processes expect either specific patterns,
or uniqueness.
So prevent accidental overriding of these by device configurations:
BUILD_DISPLAY_ID, BUILD_NUMBER, PLATFORM_VERSION, PLATFORM_SDK_VERSION,
PLATFORM_VERSION_CODENAME, BUILD_VERSION_TAGS

Change-Id: I06252f2687a5e5fd97ee21a98f26c739fd0ef6e4
Add f2fs to list of partition types in common.py

Change-Id: I9a54489c38009ca2970132b530164663b15c1337
build: Add script to generate extra images

Change-Id: I53081c7a2b4f18bc8c8a27b04d311a6b078b2022
Build: update qcom_utils.mk

Add build macro to determine Android Release

Adding platform sdk version 18 for JB MR2.

Change-Id: I79aa831ddd335bd14bd777506c210acc5d9960f1
build: Use common name for QCOM 7K boards.

This is needed to build QCOM HAL without external modifications. The
device would now have to specify msm7x27 or msm7x30 instead of
specifying the full name.

Patch Set 2: Add msm7x27a into the list.

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

PS2: fix typo

Change-Id: Id85569d1dd7be2f4c0620827da6d89e63b658aa9
override ro.build.date.utc for recovery builds. fixup makerecoveries.sh script for touch recoveries.

Change-Id: I2cf967fb4b9dd5e8183dc6ff39b77076fccc38d9
Make sed in-place more portable

In-place sed (sed -i) works differents for GNU vs BSD version like
what is found on OS X.

This adds a check and does a sed -i for GNU and a sed -i '' for
Darwin only.

This allows my OS X machine to fully compile CM without the need
for any GNU specific packages.

Change-Id: Ic8aada282db9dbe8995aa1fc7b7eebe997a1a5fb
Add initial support for charge mode. also support recovery/root in the device tree to easily copy props into recovery images.

Change-Id: Icf773a49f2802e3b287b970a390339f1ba0c7aad
fix rc file for charge mode

Change-Id: I62d881228bf309409a994d45f878d9ff331f93c1
re-add ability to disable PIE that was lost in 4.4 merge

Change-Id: I24f1372574d1c546536106c9bd8077b699d92336
Merge branch 'kitkat' of https://github.com/AOKP/build into jb-mr2
Build with SM 4.8.3

Plus some optimizations
Just for reference

Change-Id: I1501b77fce473d572dbc0f355337d84b34077621
Signed-off-by: kecinzer <kecinzer@gmail.com>