extern_interface/logqueueconfig/mak

18 lines
503 B
Plaintext
Raw Normal View History

2024-11-28 08:31:00 +00:00
#!/bin/bash
if echo "$@" | grep -iq r; then
Param1="RELEASE_VERSION=yes"
else
Param1="DEBUG_VERSION=yes"
fi
make clean
clear
if echo "$@" | grep -iq e; then
#------ compile for euler -------------------
make -j 4 $Param1 CXX=arm-ztkp_openeuler-linux-gnueabi-g++ AR=arm-ztkp_openeuler-linux-gnueabi-ar OUTPUT_LIB_DIR=../../libs-euler/
else
#------- compile for arm32 ------------------
make -j 4 $Param1 CXX=arm-linux-gnueabihf-g++ AR=arm-linux-gnueabihf-ar OUTPUT_LIB_DIR=../../libs-arm32/
fi