From efdfc856b243e047a54d31ae84a81b11151e8afc Mon Sep 17 00:00:00 2001
From: guowenxue <guowenxue@gmail.com>
Date: Sat, 11 Dec 2021 19:12:44 +0800
Subject: [PATCH] add wintools in images
---
bsp/build.sh | 15 +++++++++------
1 files changed, 9 insertions(+), 6 deletions(-)
diff --git a/bsp/build.sh b/bsp/build.sh
index 0ad0a30..4e9073a 100755
--- a/bsp/build.sh
+++ b/bsp/build.sh
@@ -7,7 +7,7 @@
#CROSS_TOOL=arm-linux-gnueabihf-
CROSS_TOOL=/opt/buildroot/cortexA7/bin/arm-linux-
-# bootloader, linux kernel tarball path and branch
+# bootloader, linux kernel tarball path and branch
TAR_PATH=${PRJ_PATH}/tarball
BSP_BRANCH="lf-5.10.52-2.1.0"
@@ -34,11 +34,11 @@
}
function do_modify()
-{
+{
do_modify_build tarball
do_modify_build bootloader
do_modify_build kernel
- do_modify_build rootfs
+ do_modify_build rootfs
do_modify_build images
}
@@ -58,7 +58,7 @@
function do_action()
{
- folder=$1
+ folder=$1
action=$2
cd $PRJ_PATH/$folder
@@ -67,7 +67,7 @@
./build.sh -b
elif [ $action == "clean" ] ; then
./build.sh -c
- fi
+ fi
cd $PRJ_PATH
}
@@ -115,7 +115,10 @@
do_usage
fi
-do_modify
+if [ $action == "build" ] ; then
+ do_modify
+ cd tarball && ./build.sh && cd -
+fi
if [ $1 == "bsp" ] ; then
if [ $action == "build" ] ; then
--
Gitblit v1.9.1