aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbuild-tool/scripts/validation.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/build-tool/scripts/validation.sh b/build-tool/scripts/validation.sh
index 12988b6ae8..48b23721ba 100755
--- a/build-tool/scripts/validation.sh
+++ b/build-tool/scripts/validation.sh
@@ -33,7 +33,7 @@ if [ "$HOST_ARCH" == "aarch64" ]; then
fi
# Validation of chosen Arm NN dependencies
-if [ "$flag_tflite_delegate" -eq 0 ] && [ "$flag_tflite_parser" -eq 0 ] && [ "$flag_onnx_parser" -eq 0 ]; then
+if [ "$flag_tflite_classic_delegate" -eq 0 ] && [ "$flag_tflite_opaque_delegate" -eq 0 ] && [ "$flag_tflite_parser" -eq 0 ] && [ "$flag_onnx_parser" -eq 0 ]; then
echo "$name: at least one of flags --tflite-classic-delegate, --tflite-opaque-delegate, --tflite-parser or --onnx-parser must be set (or --all)."
exit 1
fi