Use TI wpa supplicant.

This allows us to get the MAC address and reconnect after sleep.
It is necessary to obtain the repo:
CyanogenMod / android_external_wpa_supplicant_8_ti
and put it into:
external/wpa_supplicant_8_ti
Report only hardware capabilities that we actually have

We're currently reporting a bunch of hardware capabilities (camera,
microphone, compass, GPS) which we don't actually have.  Presumably this
was done because these capabilities were required by the compatibility
definition once upon a time and apps implicitly depended on their
presence, but with the revision of the CDD to accommodate basic
wifi-only tablets and the proliferation of such devices on the market,
this should no longer be necessary.
Remove unused recovery.fstab

The recovery now uses the unified fstab.encore, so this file is
obsolete and unused.  Remove it.
Clean up BoardConfig.mk

encore's been around an unusually long time, and in that time it's
picked up quite a lot of cruft in BoardConfig.mk; it's time for a
housecleaning.  Specifically:

* Remove flags for which no other references exist in the CM source tree
* Reorganize remaining configuration into some semblance of a logical
  grouping and order
Remove optimization settings from BoardConfig.mk

It's no longer possible to override the optimization settings chosen by
the build system this way, so these settings currently have no effect at
all.
Move device-installed scripts under prebuilt/

This provides clear separation between shell scripts which are intended for
the build host and those which are intended for the device.
Clean up BoardConfig.mk

encore's been around an unusually long time, and in that time it's
picked up quite a lot of cruft in BoardConfig.mk; it's time for a
housecleaning.  Specifically:

* Remove flags for which no other references exist in the CM source tree
* Reorganize remaining configuration into some semblance of a logical
  grouping and order
Build audio HAL components from source instead of using prebuilts
Use global DEFAULT_SAMPLE_RATE constant

Class android::AudioRecord does not contain a DEFAULT_SAMPLE_RATE
definition, so the global definition must be used to avoid a compiler
error.

Change-Id: Iff5fc07a503e28776e25b53672ff686f0d4dc367
AOSP-ize device tree; Remove CM-related bits.
Pick mkimage from PATH or print error
Workaround missing OPTIONS.backuptool in AOSP/4.4
Add recovery graphic resources

Ideally, it should be possible to reuse generic resources from elsewhere.
For the moment this prevents the build to fail prematurely.
Add network location packages

Change-Id: I487d82a360e41600230c35e01393aff5b16adc28

Conflicts:
	encore.mk
Remove the Settings and Trebuchet overlay XMLs

Trebuchet is not available in AOSP, and the values overriden for Settings
are CM-specific as well. There is no use in keeping those files around.
Include embedded Superuser and busybox
Show rotation lock in quick settings panel
Manually mount /rom in store-mac-addr.sh if needed

Ensure that /rom is mounted before trying to read from it. This is an ugly
hack, but gets the job done and avoids having the system to boot without
Wi-Fi in certain circumstances.
Add missing e2fsck to PRODUCT_PACKAGES

The system will try to scan file systems for errors using e2fsck, but it
will fail due to a missing executable. Adding this solves the issue.
Add a number of config options to framework overlay