After you download all the code source, you can build the X20-Board images.
-
Set up environment
$ source build/envsetup.sh -
Choose a target
$ lunch full_amt6796_64_open-eng -
Build the code
$ make -j8
(Build everything with make. GNU make can handle parallel tasks with a -jN argument, and it’s common to use a number of tasks N that’s between 1 and 2 times the number of hardware threads on the computer being used for the build. For example, on a dual-E5520 machine (2 CPUs, 4 cores per CPU, 2 threads per core), the fastest builds are made with commands between make -j16 and make -j32.)
or make one by one manually
$ make pl -j8
$ make lk -j8
$ make kernel -j8
$ make bootimage -j8
$ make systemimage -j8
(Note that, the Android OS for x20 96Boards is open source, but excluding HAL part, and the preloader part.
So, there is no need to execute “$ make pl -j8”.)
- Images in the out directory(\out\target\product\amt6797_64_oam)
boot.img
cache.img
lk.bin
logo.bin
MT6797_Android_scatter.txt
PGPT
preloader_amt6797_64_open.bin
recovery.img
system.img
tinysys-scp.bin
trustzone.bin
userdata.img