This adds a command line argument for enabling user
builds for releases. Example usage is below
./rom-build.sh hammerhead user
Change-Id: I49a5ae767e7eff8389a2bd17075ec32990498b7c
Signed-off-by: Evan Anderson <evananderson@aospa.co>
PREFS_FROM_SOURCE was initially added to product makefiles back
in 03c1663 and the PA overrides makefile in d454ed8 and then was
discontinued after a short period with d454ed8 but mentions of it
still remained throught the makefiles up until now even though
PaPrefs is not in use at all anymore. OVERLAY_TARGET is in a
situation very similar to that - the variable is not in use as
hybrid is not in use.
Change-Id: I117f7f16828af8d963d80d3a7c2626f772e16f91
no /proc file system in MacOSX. use sysctl to return correct number of
cores to speed up building.
Change-Id: Ic813521c5867fd3c5ac1f565894dcb89aa1a3579