docs: Remove NDK environment variable table and simplify related text in Android compilation instructions.
This commit is contained in:
parent
9e8e3882b8
commit
cf106dd604
1 changed files with 2 additions and 8 deletions
10
README.md
10
README.md
|
|
@ -88,15 +88,9 @@ git clone https://github.com/Amlogic-NN/amlnn-toolkit.git ../amlnn-toolkit
|
||||||
|
|
||||||
## Android Complication
|
## Android Complication
|
||||||
|
|
||||||
Android compilation requires the NDK toolchain. The build scripts look for the NDK path via the following environment variables (in priority order):
|
Android compilation requires the NDK toolchain. The build scripts look for the NDK path via the environment variables
|
||||||
|
|
||||||
| Variable | Description |
|
Set environment variables before building, for example:
|
||||||
| -------- | ----------- |
|
|
||||||
| `ANDROID_NDK_PATH` | Preferred variable |
|
|
||||||
| `ANDROID_NDK` | Fallback |
|
|
||||||
| `ANDROID_NDK_HOME` | Fallback |
|
|
||||||
|
|
||||||
Set one of them before building, for example:
|
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
export ANDROID_NDK_PATH=/path/to/android-ndk-r25c
|
export ANDROID_NDK_PATH=/path/to/android-ndk-r25c
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue