Please read the AOSP building instructions before proceeding.
Repo initialization:
$ repo init -u https://github.com/AICP/platform_manifest.git -b o8.1
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
You can also build (and see how long it took) for specific devices like this:
. build/envsetup.sh
time brunch m7
Remember to make clobber
every now and then!