This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
products:sbc:vim4:development:android:build-android [2022/07/06 09:55] nick |
products:sbc:vim4:development:android:build-android [2023/08/22 21:23] (current) goenjoy |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | {{indexmenu_n> | + | {{indexmenu_n> |
- | ====== Build Android ====== | + | ====== |
===== Preparations ===== | ===== Preparations ===== | ||
- | | + | |
- | | + | |
- | | + | |
===== Building ===== | ===== Building ===== | ||
Line 16: | Line 14: | ||
<WRAP important > | <WRAP important > | ||
- | Before you start to build, make sure you have done all the '' | + | Make sure you have done all the '' |
</ | </ | ||
Line 22: | Line 20: | ||
==== Build U-Boot ==== | ==== Build U-Boot ==== | ||
- | ```sh | + | ```shell |
$ cd PATH_YOUR_PROJECT | $ cd PATH_YOUR_PROJECT | ||
$ cd bootloader/ | $ cd bootloader/ | ||
Line 35: | Line 33: | ||
- | ```sh | + | ```shell |
$ ./mk kvim4 -v 5.4 -jN | $ ./mk kvim4 -v 5.4 -jN | ||
``` | ``` | ||
Line 47: | Line 45: | ||
- | ```sh | + | ```shell |
$ cd PATH_YOUR_PROJECT | $ cd PATH_YOUR_PROJECT | ||
$ . build/ | $ . build/ | ||
Line 58: | Line 56: | ||
<WRAP important > | <WRAP important > | ||
- | * VIM4 compiling Android | + | * Unlike VIM3, |
* Replace '' | * Replace '' | ||
* Replace '' | * Replace '' | ||
Line 84: | Line 82: | ||
echo "build Kernel" | echo "build Kernel" | ||
if [ " | if [ " | ||
+ | . build/ | ||
+ | lunch kvim4-userdebug | ||
make distclean | make distclean | ||
fi | fi | ||
Line 93: | Line 93: | ||
echo "build Android" | echo "build Android" | ||
if [ " | if [ " | ||
+ | . build/ | ||
+ | lunch kvim4-userdebug | ||
make clean | make clean | ||
fi | fi | ||
Line 104: | Line 106: | ||
**Build U-Boot:** | **Build U-Boot:** | ||
- | ```sh | + | ```shell |
$ ./demo.sh u | $ ./demo.sh u | ||
``` | ``` | ||
Line 110: | Line 112: | ||
**Build Kernel:** | **Build Kernel:** | ||
- | ```sh | + | ```shell |
$ ./demo.sh k | $ ./demo.sh k | ||
``` | ``` | ||
Line 116: | Line 118: | ||
**Build Android:** | **Build Android:** | ||
- | ```sh | + | ```shell |
$ ./demo.sh a | $ ./demo.sh a | ||
``` | ``` | ||
Line 122: | Line 124: | ||
**Build all:** | **Build all:** | ||
- | ```sh | + | ```shell |
$ ./demo.sh n | $ ./demo.sh n | ||
``` | ``` | ||