From d451d07f2ead8cef2134185fd8e5054927921d4f Mon Sep 17 00:00:00 2001
From: wenxue.guo <wenxue.guo@avnet.com>
Date: Fri, 22 Dec 2023 10:31:07 +0800
Subject: [PATCH] Update bootloader and linux kernel build shell script

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

diff --git a/bootloader/build.sh b/bootloader/build.sh
index 43e7c71..0e19266 100755
--- a/bootloader/build.sh
+++ b/bootloader/build.sh
@@ -184,7 +184,7 @@
     cd $PRJ_PATH/${SRC}
 
     # do patch if not patched
-    if [ ! -s configs/$defconfig ] ; then
+    if [ ! -s configs/$defconfig -a -s $patch_file ] ; then
         pr_warn "do patch for $SRC now..."
         patch -p1 < $patch_file
     fi

--
Gitblit v1.9.1