Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
liyafe1997 committed Aug 11, 2024
1 parent f2689c5 commit beb0aa5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ And, `dtb` is not flashed by default. (`dtb` is already in the zip). If you enco

# How to build
1. Prepair the basic build environment.

You have to have the basic common toolchains, such as `git`, `make`, `curl`, `bison`, `flex`, `zip`, etc, and some other packages.
In Debian/Ubuntu, you can
```
Expand All @@ -45,6 +46,7 @@ And, `dtb` is not flashed by default. (`dtb` is already in the zip). If you enco
Notice: `ccache` is enabled in `build.sh` for speed up the compiling. `CCACHE_DIR` has been set as `$HOME/.cache/ccache_mikernel` in `build.sh`. If you don't like you can remove or modify it.
2. Download [proton-clang] compiler toolchain
You have to have `aarch64-linux-gnu`, `arm-linux-gnueabi`, `clang`. [Proton Clang](https://github.com/kdrag0n/proton-clang/) is a good prebuilt clang cross compiler toolchain.
The default toolchain path is `$HOME/proton-clang/proton-clang-20210522/bin` which is set in `build.sh`. If you are using another location please change `TOOLCHAIN_PATH` in `build.sh`.
Expand Down

0 comments on commit beb0aa5

Please sign in to comment.