Prebuilt clang: add a TARGET_ENABLE_PREBUILT_CLANG flag, which sets TARGET_CLANG_VERSION to msm-3.4

simply setting TARGET_CLANG_VERSION still enables use of prebuilt clang, as before this commit.

Change-Id: Ib8cb6312d9a7f9ffff3e48c5c66bfb80893bcf97
build: updater-script: Fix mount and format commands on F2FS

Change-Id: I3211fdf059eec5e95519faabb2b4a0968b2f69ee
ota_from_target_files: remove duplicate setting of recovery_img

This variable is already set earlier in the script and does not need
to be wrapped inside of the if statement

Change-Id: I91b7f7d2fc911a3910b3df09cff0ca0f44fe7741
releasetools: Fix error text in ota_from_target_files

property isn't the variable name, prop is

Change-Id: I0fc6adddfd51ba9bc79f6559c61cd831203c9e3d
Introduce Link Time Optimization

Summary:
This introduces the following improvements:
  - Can be globally enabled with TARGET_ENABLE_LTO := true
  - Can be locally disabled with LOCAL_NO_LTO_SUPPORT.
  - Host modules now build without LTO by default.
  - Modules built with clang no longer need -fno-lto specified locally (LTO disabled here automatically)
  - Modules built with clang no longer have -fno-toplevel-reorder unnecessarily set.

http://pastebin.com/FaxSUzVy

ps5: don't enable it by default because of poor device support
ps6: make additional clang ignores lto-dependant
ps7: fix caucasian space
ps8: turn off section anchors when LTO is on (fixes "cc1plus: error: section anchors must be disabled when toplevel reorder is disabled")

Signed-off-by: bart452 <bart_96@live.nl>

Change-Id: I17ea1d46cf1ba9bace70acd89a80143060f3bc31
img_from_target_files: Create md5 hashes for each file

Generate an md5sum-fastboot.md5 file that contains an md5 hash of each
file in the fastboot zip and store the file in the zip.

Change-Id: I19c2ac5a84fb21e965953d1dad0ebcbfd0b78d47
hack