auto_build_test.sh: rename auto_build_test.sh to build_all.sh [1/1]
PD#SWPL-67525
Problem:
rename auto_build_test.sh to build_all.sh
use build_combination.txt as input
Solution:
rename auto_build_test.sh to build_all.sh
use build_combination.txt as input
Verify:
ad401_a113l
Signed-off-by: Kelvin Zhang <kelvin.zhang@amlogic.com>
Change-Id: I256efe1833bf6c93f709016c0dcbcbe7d7dc95c5
diff --git a/build_all.sh b/build_all.sh
new file mode 100755
index 0000000..222baf6
--- /dev/null
+++ b/build_all.sh
@@ -0,0 +1,15 @@
+#!/bin/bash
+#usage:./scripts/auto_build_test.sh at rtos sdk root dir
+
+set -e
+
+BUILD_COMBINATION="$PWD/scripts/build_combination.txt"
+
+i=0
+while IFS= read -r LINE; do
+ [[ "$i" -ne 0 ]] && echo ""
+ i=$((i+1))
+ make distclean
+ source scripts/env.sh $LINE
+ make
+done < "$BUILD_COMBINATION"