merge in klp-release history after reset to klp-dev
"KRT16N"
Revert "camera bringup changes platform build"

This reverts commit 8ac98f934e4e9f01c270a2a9360b68d14ead6503.

Change-Id: I779e5007418362a44174cb0a146b585887d012eb
KRT16O
Merge "Revert "camera bringup changes platform build""
build: otapackage: Include delta update agent binary in otapackage

In order to support update agent for targets which have firmware
OTA defined this service must be included in otapackage when the
package is generated.

CRs-Fixed: 401166
Change-Id: Ia798533e0402b698a65cd2b5f9a96257aab6378b
build: Add device type for otapackage

Ota script takes input arguments to identify the storage device
type mtd or mmc. Pass default argument for the device type.

Change-Id: If84d44fa71a0221f669e5bd6c34da39726d1e8da
build: otapackage: Fix condition check for FOTA

FOTA was getting interpreted as string & integer based on from where
the OTA script is called. To avoid issues make FOTA to be always of
type int.

Change-Id: I0045c2ee49cdc623069d16b3f045dbe55726caab
build: releasetools: Pass device type to device specific callbacks

Pass device type (eMMC or MTD) to the incremental OTA package
device specific callbacks. This type field will be used from
device specific IncremetalOTA_InstallEnd callbacks to distinguish
between eMMC or MTD device, because they are handled differently
from Android updater mechanism.

Change-Id: Ia7a93105f153325f8c893948cf7ec86c4c524754
[otapackage] : Fix case where boot.img was being built with wrong params.

boot.img now gets built using the same params during ota package generation
and during normal build.

Change-Id: I5de5b284b6c4e68304f4e4e9e1301fd64ac057e9
build: release: Fix release package generation scripts

Fix release tool scripts for syntax error and device_type
(MTD or MMC) handling.  Also update help text for device_type
parameter to show capitalized MMC/MTD vs mmc/mtd strings.

Change-Id: Ie6b8f2cf2d13cb1407614971656f8a402ddd25ae
KRT16P
KRT16Q
Merge "build: otapackage: Include delta update agent binary in otapackage"
Merge "build: Add device type for otapackage"
Merge "build: otapackage: Fix condition check for FOTA"
Merge "build: releasetools: Pass device type to device specific callbacks"
Merge "[otapackage] : Fix case where boot.img was being built with wrong params."
Merge "build: release: Fix release package generation scripts"
Merge commit 'android-4.4_r1.1' into merge_branch

* commit 'android-4.4_r1.1':
  KRT16O
  "KRT16N"