This commit is contained in:
qiurui 2024-05-09 17:01:59 +08:00
parent dc3d06f858
commit 7431d367ca
1 changed files with 3 additions and 1 deletions

4
env.sh
View File

@ -1,5 +1,7 @@
#!/bin/sh
export ARCH=arm
export CROSS_COMPILE=arm-rockchip830-linux-uclibcgnueabihf-
export PATH=$PATH:/home/qiurui/Documents/docker-volume/rkpro/luckfox-pico/tools/linux/toolchain/arm-rockchip830-linux-uclibcgnueabihf/bin
export PATH=$PATH:/home/qiurui/Documents/docker-volume/rkpro/sdk-official/luckfox-pico/tools/linux/toolchain/arm-rockchip830-linux-uclibcgnueabihf/bin
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Debug -DUVGRTP_DISABLE_CRYPTO=1 -DCMAKE_C_COMPILER=arm-rockchip830-linux-uclibcgnueabihf-gcc -DCMAKE_CXX_COMPILER=arm-rockchip830-linux-uclibcgnueabihf-g++ ..