Khadas Docs

Amazing Khadas, always amazes you!

User Tools

Site Tools


products:sbc:edge2: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
Last revision Both sides next revision
products:sbc:edge2:development:android:build-android [2022/08/02 21:33]
haylrn
products:sbc:edge2:development:android:build-android [2022/09/28 09:50]
nick
Line 1: Line 1:
-{{indexmenu_n>3}}+{{indexmenu_n>15}}
  
  
Line 6: Line 6:
 ===== Introduction ===== ===== Introduction =====
  
-This document mainly introduces how to compile the Android source code. You will learn how to compile different versions of android source code.+This document mainly introduces how to compile the Android source code. You will learn how to compile different versions of Android source code.
  
 ===== Preparation ===== ===== Preparation =====
Line 20: Line 20:
 </WRAP> </WRAP>
  
-<tabbox Android 12.0> 
  
 Build ALL: Build ALL:
Line 43: Line 42:
 $ cd PATH_YOUR_PROJECT $ cd PATH_YOUR_PROJECT
 $ source build/envsetup.sh $ source build/envsetup.sh
-$ lunch rk3588_s-userdebug +$ lunch kedge2-userdebug 
-$ ./build.sh -AK+$ ./build.sh -CKu
 ``` ```
  
Line 52: Line 51:
 $ cd PATH_YOUR_PROJECT $ cd PATH_YOUR_PROJECT
 $ source build/envsetup.sh $ source build/envsetup.sh
-$ lunch rk3588_s-userdebug +$ lunch kedge2-userdebug 
-$ ./build.sh -A+$ ./build.sh -Au
 ``` ```
  
 <WRAP info > <WRAP info >
-Replace ''N'' as the number you want when you run ''make -jN''.+ Modify the file build.sh ''BUILD_JOBS=16'' as the number you want when you run ''BUILD_JOBS=n''.
 </WRAP> </WRAP>
  
Line 86: Line 85:
 $ cd PATH_YOUR_PROJECT $ cd PATH_YOUR_PROJECT
 $ source build/envsetup.sh $ source build/envsetup.sh
-$ lunch rk3588_s-userdebug+$ lunch kedge2-userdebug
 $ ./build.sh -u $ ./build.sh -u
 ``` ```
-</tabbox>+ 
 +<WRAP important > 
 +After compiling, you need to reload ''update.img'' when flashing. 
 +</WRAP>
  
 ===== See Also ===== ===== See Also =====
 +
 +  * [[/products/sbc/edge2/install-os/install-os-into-emmc-via-usb-tool|]]
 +  * [[/products/sbc/edge2/install-os/install-os-into-external-storage|]]
  
  
  
Last modified: 2022/09/29 23:00 by haylrn