From cf024232165865ebc63e5ddbb1067aca8f7a69bd Mon Sep 17 00:00:00 2001 From: xiayan Date: Wed, 5 Feb 2025 13:51:18 +0800 Subject: [PATCH] fix tenglong_e build fial --- device_board_phytium/common/build_kernel/build_dts.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/device_board_phytium/common/build_kernel/build_dts.sh b/device_board_phytium/common/build_kernel/build_dts.sh index 2e55a50..7949a08 100755 --- a/device_board_phytium/common/build_kernel/build_dts.sh +++ b/device_board_phytium/common/build_kernel/build_dts.sh @@ -18,6 +18,11 @@ set -e DTS_SRC_DIR=${1} DTS_TARGET_DIR=${2} +if [ ! -e $DTS_SRC_DIR ]; then + echo "there isn't path ${DTS_SRC_DIR}" + exit 0 +fi + dts_files=$(find ${DTS_SRC_DIR} -type f -name "*.dts") if [ -n "$dts_files" ]; then cp ${DTS_SRC_DIR}/*.dts* ${DTS_TARGET_DIR} -- Gitee