Before you start to build, make sure you have done all the
Preparations listed above.
$ cd PATH_YOUR_PROJECT $ cd bootloader/uboot $ ./mk TARGET
Gernerate images in this step:
build/u-boot.bin: for onboard EMMC storage booting.
build/u-boot.bin.sd.bin: for external TF card booting.
$ cd PATH_YOUR_PROJECT $ source build/envsetup.sh $ lunch TARGET_LUNCH $ make -jN otapackage
Nas the number you want when you run
TARGET_LUNCHto your lunch select.
When you build the Android Kernel (above), the Linux Kernel will also be built simultaneously.
In some cases, you might want to build the Linux Kernel separately. You can run this script below to do that:
$ make bootimage