lin
2025-02-25 34433977ec4ae14437daefc2af2d86d2ea256cde
fix(build): fix the problem of loading the wrong .mk file during ./build.sh lunch

Signed-off-by: lin <lin@kickpi.com>
1 files modified
2 ■■■ changed files
build.sh 2 ●●● patch | view | raw | blame | history
build.sh
....@@ -5,7 +5,7 @@
55
66 function build_lunch()
77 {
8
- TARGET_BOARD_PATH_ARRAY=( $(find $BOARD_CONFIG_DIR -name "BoardConfig-a133*.mk" ) )
8
+ TARGET_BOARD_PATH_ARRAY=( $(find $BOARD_CONFIG_DIR -name "BoardConfig-a133*.mk" | sort) )
99 TARGET_BOARD_ARRAY=( $(find $BOARD_CONFIG_DIR -name "BoardConfig-a133*.mk" | sed 's#.*/##' | sort) )
1010 echo "======you are building a133 android======"
1111 echo "${TARGET_BOARD_ARRAY[@]}" |xargs -n 1 | sed "=" | sed "N;s/\n/. /"