From 59a333e0d033b9153d524c01c81e4ccf59aeebe3 Mon Sep 17 00:00:00 2001
From: guowenxue <guowenxue@gmail.com>
Date: Thu, 06 Oct 2022 17:04:29 +0800
Subject: [PATCH] update yocto build shell script
---
bsp/kernel/build.sh | 8 +++-----
1 files changed, 3 insertions(+), 5 deletions(-)
diff --git a/bsp/kernel/build.sh b/bsp/kernel/build.sh
index b3aec4d..3b0535f 100755
--- a/bsp/kernel/build.sh
+++ b/bsp/kernel/build.sh
@@ -22,7 +22,7 @@
return 0;
fi
- do_fetch_json $JSON_CONF KERNEL_SRC $KERNEL_SRC
+ do_fetch_json $JSON_CONF KERNEL_SRC ${PRJ_PATH}
}
function do_patch()
@@ -69,9 +69,7 @@
{
pr_warn "Clean ${KERNEL_SRC} source code"
- cd ${KERNEL_SRC}
-
- make distclean
+ rm -rf ${KERNEL_SRC}
cd ${PRJ_PATH}
}
@@ -144,7 +142,7 @@
esac
done
-#defualt do build action
+#default do build action
do_fetch
do_patch
--
Gitblit v1.9.1