From 34433977ec4ae14437daefc2af2d86d2ea256cde Mon Sep 17 00:00:00 2001
From: lin <lin@kickpi.com>
Date: Tue, 25 Feb 2025 09:59:20 +0000
Subject: [PATCH] fix(build): fix the problem of loading the wrong .mk file during ./build.sh lunch

---
 build.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/build.sh b/build.sh
index da73628..555e87e 100755
--- a/build.sh
+++ b/build.sh
@@ -5,7 +5,7 @@
 
 function build_lunch()
 {
-       TARGET_BOARD_PATH_ARRAY=( $(find $BOARD_CONFIG_DIR -name "BoardConfig-a133*.mk" ) )
+       TARGET_BOARD_PATH_ARRAY=( $(find $BOARD_CONFIG_DIR -name "BoardConfig-a133*.mk" | sort) )
        TARGET_BOARD_ARRAY=( $(find $BOARD_CONFIG_DIR -name "BoardConfig-a133*.mk" |  sed 's#.*/##' | sort) )
        echo "======you are building a133 android======"
        echo "${TARGET_BOARD_ARRAY[@]}" |xargs -n 1 | sed "=" | sed "N;s/\n/. /"

--
Gitblit v1.6.2