fix(build): fix the problem of loading the wrong .mk file during ./build.sh lunch
Signed-off-by: lin <lin@kickpi.com>
.. | .. |
---|
5 | 5 | |
---|
6 | 6 | function build_lunch() |
---|
7 | 7 | { |
---|
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) ) |
---|
9 | 9 | TARGET_BOARD_ARRAY=( $(find $BOARD_CONFIG_DIR -name "BoardConfig-a133*.mk" | sed 's#.*/##' | sort) ) |
---|
10 | 10 | echo "======you are building a133 android======" |
---|
11 | 11 | echo "${TARGET_BOARD_ARRAY[@]}" |xargs -n 1 | sed "=" | sed "N;s/\n/. /" |
---|