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
products:sbc:edge2:development:android:build-android [2022/08/04 02:44]
haylrn
products:sbc:edge2:development:android:build-android [2022/09/29 23:00] (current)
haylrn [Building]
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 26: Line 25:
 ```shell ```shell
 $ cd PATH_YOUR_PROJECT $ cd PATH_YOUR_PROJECT
-$ ./enjoy.sh+$ source build/envsetup.sh 
 +$ lunch kedge2-userdebug 
 +$ ./build.sh -AUCKu
 ``` ```
 You can also distribute compilations: You can also distribute compilations:
Line 35: Line 36:
 ```shell ```shell
 $ cd PATH_YOUR_PROJECT $ cd PATH_YOUR_PROJECT
-cd u-boot +source build/envsetup.sh 
-$ ./make.sh rk3588+$ lunch kedge2-userdebug 
 +$ ./build.sh -Uu
 ``` ```
  
Line 44: Line 46:
 $ source build/envsetup.sh $ source build/envsetup.sh
 $ lunch kedge2-userdebug $ lunch kedge2-userdebug
-$ ./build.sh -CKu -d rk3588s-khadas-edge2+$ ./build.sh -CKu
 ``` ```
  
Line 53: Line 55:
 $ source build/envsetup.sh $ source build/envsetup.sh
 $ lunch kedge2-userdebug $ lunch kedge2-userdebug
-$ ./build.sh -Au -d rk3588s-khadas-edge2+$ ./build.sh -Au
 ``` ```
  
Line 89: Line 91:
 $ ./build.sh -u $ ./build.sh -u
 ``` ```
-</tabbox> 
  
 <WRAP important > <WRAP important >
Line 97: Line 98:
 ===== See Also ===== ===== See Also =====
  
-  * [[/products/sbc/edge2/install-os/install-os-into-emmc-via-usb-tool|Install OS Into eMMC via USB Tool]]. +  * [[/products/sbc/edge2/install-os/install-os-into-emmc-via-usb-tool|]] 
-  * [[/products/sbc/edge2/install-os/install-os-into-external-storage|Install OS into External Storage]].+  * [[/products/sbc/edge2/install-os/install-os-into-external-storage|]]
  
  
  
Last modified: 2022/08/04 02:44 by haylrn