26 lines
1013 B
Markdown
Executable File
26 lines
1013 B
Markdown
Executable File
#### OASES LINUX DAEMON
|
|
|
|
##### compile with a stand-alone toolchain and integrate
|
|
|
|
1. apply for 'access key' and 'secret access key' from OASES
|
|
|
|
2. implement platform specific code, see also platform/README.md
|
|
|
|
3. compile
|
|
```sh
|
|
# set environment variables:CC,CXX,CPP,STRIP
|
|
# example:
|
|
$CC=aarch64-poky-linux-gcc -mcpu=cortex-a72.cortex-a53+crypto -mtune=cortex-a72.cortex-a53 --sysroot=/home/yang/bin/oecore-x86_64/sysroots/aarch64-poky-linux
|
|
$CXX=aarch64-poky-linux-g++ -mcpu=cortex-a72.cortex-a53+crypto -mtune=cortex-a72.cortex-a53 --sysroot=/home/yang/bin/oecore-x86_64/sysroots/aarch64-poky-linux
|
|
$CPP=aarch64-poky-linux-gcc -E -mcpu=cortex-a72.cortex-a53+crypto -mtune=cortex-a72.cortex-a53 --sysroot=/home/yang/bin/oecore-x86_64/sysroots/aarch64-poky-linux
|
|
$STRIP=aarch64-poky-linux-strip
|
|
|
|
$make
|
|
```
|
|
|
|
4. implement init configuration, see also init_config/README.md
|
|
|
|
5. push oasesd and init configuration files to device
|
|
|
|
6. make init to reload configuration and start oasesd
|