This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
products:sbc:edge2:development:android:build-android [2022/08/04 04:48] haylrn |
products:sbc:edge2:development:android:build-android [2024/10/28 06:15] (current) xiong |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | {{indexmenu_n> | + | {{indexmenu_n> |
| 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 | + | This document mainly introduces how to compile the Android source code. You will learn how to compile different versions of Android |
| ===== Preparation ===== | ===== Preparation ===== | ||
| Line 20: | Line 20: | ||
| </ | </ | ||
| - | <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/ |
| + | $ lunch kedge2-userdebug | ||
| + | $ ./build.sh -UCKAou | ||
| ``` | ``` | ||
| 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/ |
| - | $ ./make.sh rk3588 | + | $ lunch kedge2-userdebug |
| + | $ ./build.sh -Uu | ||
| ``` | ``` | ||
| Line 54: | Line 56: | ||
| $ lunch kedge2-userdebug | $ lunch kedge2-userdebug | ||
| $ ./build.sh -Au | $ ./build.sh -Au | ||
| + | ``` | ||
| + | |||
| + | Build OTA: | ||
| + | |||
| + | ```shell | ||
| + | $ cd PATH_YOUR_PROJECT | ||
| + | $ source build/ | ||
| + | $ lunch kedge2-userdebug | ||
| + | $ ./build.sh -ou | ||
| ``` | ``` | ||
| Line 89: | Line 100: | ||
| $ ./build.sh -u | $ ./build.sh -u | ||
| ``` | ``` | ||
| - | </ | ||
| <WRAP important > | <WRAP important > | ||
| Line 97: | Line 107: | ||
| ===== See Also ===== | ===== See Also ===== | ||
| - | * [[/ | + | * [[/ |
| - | * [[/ | + | * [[/ |