Please read the NOSP building instructions before proceeding.
Initialize:
Create the build directory :
$ mkdir ~/dev
$ mkdir ~/dev/nosp
$ cd ~/dev/nosp
Init core trees without any device/kernel/vendor :
$ repo init -u https://github.com/NOSP/platform_manifest.git -b nosp500
sync repo
$ repo sync
After the sync is finished, please read the instructions from the Android site on how to build.
. build/envsetup.sh
brunch
make -j4
You can also build (and see how long it took) for specific devices like this:
. build/envsetup.sh
time brunch nosp_hammerhead-user
make -j4
Remember to make clobber
every now and then!