About how to build Oreo for VIM, you can following below steps.
1) Download many tools on your Ubuntu PC Host and extract these tools on the path ‘/opt’
- gcc-linaro-aarch64-none-elf-4.8-2013.11_linux
- gcc-arm-none-eabi-6-2017-q2-update
- gcc-linaro-6.3.1-2017.02-x86_64_aarch64-linux-gnu
2) Build U-boot
# cd ~/project/khadas/oreo/uboot
# make -jN
3) Build Android
# cd ~/project/khadas/oreo
# source build/envsetup.sh
# lunch target
# make -jN otapackage
The target is kvim-userdebug