From f6b3c09ebbfe490a18e225b01a9b837da36c9b4f Mon Sep 17 00:00:00 2001
From: guowenxue <guowenxue@gmail.com>
Date: Sat, 16 Apr 2022 15:51:07 +0800
Subject: [PATCH] update qt5 build shell script to QT5.6.3

---
 bsp/kernel/build.sh |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/bsp/kernel/build.sh b/bsp/kernel/build.sh
index 681d4b5..14bf3f5 100755
--- a/bsp/kernel/build.sh
+++ b/bsp/kernel/build.sh
@@ -80,8 +80,10 @@
     pr_warn "Clean ${KERNEL_SRC} source code"
 
     cd ${KERNEL_SRC}
-    make savedefconfig
-    mv defconfig arch/arm/configs/$defconf
+    if [ -f .config ] ; then
+        make savedefconfig
+        mv defconfig arch/arm/configs/$defconf
+    fi
     make distclean
     cd -
 

--
Gitblit v1.9.1