Please read the AOSP building instructions before proceeding.
Initiate core trees without any device/kernel/vendor:
$ repo init -u https://github.com/AOKP/platform_manifest.git -b oreo
Sync the repository:
$ repo sync --force-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 for specific devices (eg. hammerhead) like this:
. build/envsetup.sh lunch aokp_cheeseburger-userdebug mka rainbowfarts
make clobber && make clean every now and then!