Please read the AOSP building instructions before proceeding.
Init core trees without any device/kernel/vendor :
$ repo init -u https://github.com/AOKP/platform_manifest.git -b mm
sync repo :
$ repo sync
After the sync is finished, please read the instructions from the Android site on how to build.
. build/envsetup.sh
lunch
You can also build (and see how long it took) for specific devices (eg. hammerhead) like this:
. build/envsetup.sh
lunch aokp_hammerhead-userdebug && time make rainbowfarts
Remember to make clean
every now and then!