From 7d0d561ec2bc45714186abb794a99343275c6a66 Mon Sep 17 00:00:00 2001
From: wenxue.guo <wenxue.guo@avnet.com>
Date: Fri, 22 Dec 2023 10:48:16 +0800
Subject: [PATCH] Add linux kernel patch for igkboard-imx8mp, not test yet

---
 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