Khadas Docs

Amazing Khadas, always amazes you!

User Tools

Site Tools


products:sbc:vim4: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:vim4:development:android:build-android [2022/07/13 05:55]
nick
products:sbc:vim4:development:android:build-android [2023/08/22 21:23] (current)
goenjoy
Line 1: Line 1:
-{{indexmenu_n>3}}+{{indexmenu_n>15}}
  
  
Line 6: Line 6:
 ===== Preparations ===== ===== Preparations =====
  
-  - [x] [[http://source.android.com/source/initializing.html|Establishing a Build Environment]] +  [[http://source.android.com/source/initializing.html|Set up a Build Environment]] 
-  - [x] [[products:sbc:vim4:development:android:download-android-source-code|Downloading the Android Source]] +  [[products:sbc:vim4:development:android:download-android-source-code|Downloading the Android Source]] 
-  - [x] [[products:sbc:vim4:development:android:install-toolchains|Install Toolchains for the Amlogic Platform]] +  [[products:sbc:vim4:development:android:install-toolchains|Install Toolchains for the Amlogic Platform]]
  
 ===== Building ===== ===== Building =====
Line 15: Line 14:
  
 <WRAP important > <WRAP important >
-Before you start to build, make sure you have done all the ''Preparations'' listed above.+Make sure you have done all the ''Preparations'' listed above before getting started.
 </WRAP> </WRAP>
  
Line 57: Line 56:
  
 <WRAP important > <WRAP important >
-  * VIM4 compiling Android will not compile the Linux Kernel at the same time as VIM3.+  * Unlike VIM3,  VIM4 doesn't support compiling Android and Linux Kernel at the same time.
   * 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 83: Line 82:
  echo "build Kernel"  echo "build Kernel"
 if [ "$2" == 'n' ] || [ "$1" == 'n' ]; then if [ "$2" == 'n' ] || [ "$1" == 'n' ]; then
 + . build/envsetup.sh 
 + lunch kvim4-userdebug 
  make distclean  make distclean
 fi  fi
Line 92: Line 93:
  echo "build Android"  echo "build Android"
 if [ "$2" == 'n' ] || [ "$1" == 'n' ]; then if [ "$2" == 'n' ] || [ "$1" == 'n' ]; then
 + . build/envsetup.sh 
 + lunch kvim4-userdebug 
  make clean  make clean
 fi   fi  
Last modified: 2022/07/13 05:55 by nick