-
Create a folder for your project
e.g.
mkdir discovery -
Enter into the folder you created
e.g.
cd discovery -
Init the repo into your project's folder
repo init -u https://github.com/DiscoveryTeam/platform_manifest -b 9.0 -
Sync your project
repo sync
You have to clone manually all the needed repositories to build for your device. Like device tree, kernel and vendor.
source build/envsetup.sh
Replace "devicename" with the codename of your device e.g. breakfast discovery_dumpling
breakfast discovery_devicename
brunch discovery_devicename