add adb to the disttools

Change-Id: I898fa5c9396606144e57dba8453f476b9e9440ab
roomservice: When validating the presence of a repo, check main manifest too

Change-Id: If680536484074b473458723d93e783d074d7f669
envsetup: include bash completion script from vendor/cm

Change-Id: Id90d84748df41d6626dfd46befabe0054c6d14e7
The bash completion stuff is crapping out on darwin. Disabling.
Let me know if I am doing something wrong.

Change-Id: I6f61f869140b26db0a119617b353e0952eeaebeb
build: recovery: disable ro.adb.secure

We have no way of authorizing adb in recovery and this locks the
user/developer out of adb

Change-Id: I7df53e05a9e605bec525e22ff6aae069a85a593f
build: recovery: fully strip ro.adb.secure

Make it up to the recovery to enable secure adb or not

Change-Id: I0e9b7dd7f2a350a640e424941342f1640492c552
build: add strip on kernel modules

kernel modules are huge for prima wlan and we need to strip them
unstriped size 40mb
striped size 2mb

Change-Id: Iefd572732cad0a6f608439618673068a3586fcd5
Add new version to qcom_utils.mk

Change-Id: I1ca1532fd4968450715ecd0cca7729e0e6d507ef
eat: Use /cache if possible

 * Check the size of /cache and use it if possible.

Change-Id: I72fecf3f8d2311c04e63fe81a7ca9a8a6a40419d
fix path to sounds in sdk product

This is necessary to build the SDK:

    lunch sdk-eng && make sdk

Change-Id: I7b9dcfc418ddc46e2967b627525d042bbf6334e1
Revert "Allow disabling DroidDoc build."

This reverts commit 875e83165081425e74ce7c999b51c01cac0c876c

Change-Id: I670a1bea555cc7ac8346fba347b9cb40092c3da1
eat: Eat using adb sideload

 * Requires new recovery and updated adbd

Change-Id: I65990822ab63313701d74783d95611d128d90f94
Check bash version instead of OS for bash completion

The bash completion script requires bash 4.0

Change-Id: Id81a42585b1d2cb568cb1b8f602f2bb447bef214
Consolidate bash version checks

There were two checks for bash version, the 2nd was superfluous; this
patch removes the duplicate checks, and shifts the bash version check to
being back after the "are we in bash" check.

Change-Id: I57ff8c1fedce80f739c06643d2976d2c1465db1b

Conflicts:
	envsetup.sh
envsetup: allow using mka for mm{,m}

Change-Id: I6c0fce5e67a3b5c49023d3c00825e35b08d41845
build: Add "installboot" command to install boot images

 * For devices that lack fastboot, this command will copy the boot image
   to a running device, write it out to the correct partition with dd,
   copy the modules and set the correct permissions.
 * Field surveys have discovered that a specific CM device maintainer is
   handling two devices, one with boot partition p7 and one at p8.
 * Extensive research has unveiled the fact that mixing up these
   partitions across these two specific devices will cause
   corruption of the TZ firmware, which cannot be restored and results
   in an unrecoverable brick.
 * Automate the process so this idiot (me) stops breaking shit.

Change-Id: I0dc5449daf128181e2e349ea26ad5741cc87bfe7

Conflicts:
	envsetup.sh
build: Add "installrecovery" command

 * Similar to "installboot", add an "installrecovery" command which
   writes the recovery image to the correct partition of a running
   device.

Change-Id: I1dcca44fd0d8afa08ece9e99cd914547acb99c83

Conflicts:
	envsetup.sh
envsetup: Make installboot work in recovery mode too

 * Needs a change to adb to allow waiting for recovery

Change-Id: Ia90645513f46bcb5f20b7c74c55ef15842710d3d

Conflicts:
	envsetup.sh
envsetup: add quotes around PROMPT_COMMAND

Better compatibility for zsh.

Change-Id: Ie010c30580e67e3b5357e3cc869114a525762677