fix arm64 compile

This commit is contained in:
sunsuodong 2021-04-22 19:59:48 +08:00
parent 9753a91fc1
commit d7dbc9961e
1 changed files with 1 additions and 1 deletions

View File

@ -340,7 +340,7 @@ checkopts()
esac
done
if [[ "X$RUN_TESTCASES" == "Xon" && "X$DEVICE" != "X" ]]; then
if [[ "X$RUN_TESTCASES" == "Xon" && "X$DEVICE" != "X" && "X$COMPILE_LITE" != "Xon" ]]; then
echo "WARNING:Option -e can't be set while option -t on/ut is set, reset device to empty."
DEVICE=""
fi