Khadas Docs

Amazing Khadas, always amazes you!

User Tools

Site Tools


products:sbc:vim1s:development:android:build-android

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
products:sbc:vim1s:development:android:build-android [2022/09/08 22:49]
hyphop [Build Script Demo]
products:sbc:vim1s:development:android:build-android [2023/08/22 21:24] (current)
goenjoy
Line 1: Line 1:
-{{indexmenu_n>3}}+ 
 +{{indexmenu_n>15}}
  
  
Line 6: Line 7:
 ===== Preparations ===== ===== Preparations =====
  
-  [[http://source.android.com/source/initializing.html|Set up a Build Environment]] +  [[http://source.android.com/source/initializing.html|Setup the Build Environment]] 
-  [[products:sbc:vim1s:development:android:download-android-source-code]] +  [[products:sbc:vim1s:development:android:download-android-source-code]] 
-  [[products:sbc:vim1s:development:android:install-toolchains]]+  [[products:sbc:vim1s:development:android:install-toolchains]]
  
 ===== Building ===== ===== Building =====
Line 56: Line 57:
  
 <WRAP important > <WRAP important >
-  * Unlike VIM3,  VIM1S doesn't support compiling Android and Linux Kernel at the same time.+  * When compiling Android for VIM3, both Android and the kernel are compiled together. For VIM1S, only Android is compiled, the kernel has to be compiled separately.
   * Replace ''N'' with the actual number of threads on your own computer   * Replace ''N'' with the actual number of threads on your own computer
   * Replace ''TARGET_LUNCH'' to your lunch select.   * Replace ''TARGET_LUNCH'' to your lunch select.
Line 81: Line 82:
  echo "build Kernel"  echo "build Kernel"
 if [ "$2" == 'n' ] || [ "$1" == 'n' ]; then if [ "$2" == 'n' ] || [ "$1" == 'n' ]; then
 + . build/envsetup.sh 
 + lunch kvim1s-userdebug 
  make distclean  make distclean
 fi  fi
Line 90: Line 93:
  echo "build Android"  echo "build Android"
 if [ "$2" == 'n' ] || [ "$1" == 'n' ]; then if [ "$2" == 'n' ] || [ "$1" == 'n' ]; then
 + . build/envsetup.sh 
 + lunch kvim1s-userdebug 
  make clean  make clean
 fi   fi  
Last modified: 2022/09/08 22:49 by hyphop