Please read the AOSP building instructions before proceeding.
Initialize:
Init core trees without any device/kernel/vendor :
$ repo init -u https://github.com/Whitehawkx/platform_manifest.git -b kitkat
Init repo with all devices, kernels and vendors supported :
$ repo init -u https://github.com/Whitehawkx/platform_manifest.git -b kitkat -g all,kernel,device,vendor
Init repo only for a particular device
$ repo init -u https://github.com/Whitehawkx/platform_manifest.git -b kitkat -g all,-notdefault,<devicename>,<vendorname>
for example, to init only trees needed to build m7tmo
$ repo init -u https://github.com/Whitehawkx/platform_manifest.git -b kitkat -g all,-notdefault,m7tmo,htc
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 crimson_m7tmo-userdebug
Remember to make clobber
every now and then!