From f99459ecf4dac0d993467c74b82d822788e61fa1 Mon Sep 17 00:00:00 2001
From: guowenxue <guowenxue@gmail.com>
Date: Sun, 26 Dec 2021 23:55:23 +0800
Subject: [PATCH] Add 凌云IGKBoard开发板开发手册.pdf
---
bsp/build.sh | 19 ++++++++++---------
1 files changed, 10 insertions(+), 9 deletions(-)
diff --git a/bsp/build.sh b/bsp/build.sh
index e16073d..a9f2521 100755
--- a/bsp/build.sh
+++ b/bsp/build.sh
@@ -2,17 +2,17 @@
PRJ_PATH=`pwd`
-BOARD=imx6ull
+BOARD=igkboard
#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"
-# rootfs should be buildroot/yocto or stretch/buster/bullseye for debian system
-ROOTFS=buster
+# rootfs should be buildroot/yocto or bullseye for debian system
+ROOTFS=buildroot
set -u
set -e
@@ -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,7 @@
do_usage
fi
-if [ $action == "build" ] ; then
+if [ $action == "build" ] ; then
do_modify
cd tarball && ./build.sh && cd -
fi
@@ -126,6 +126,7 @@
fi
do_action bootloader $action
do_action kernel $action
+ do_action drivers $action
elif [ $1 == "image" ] ; then
do_root "yes"
do_action rootfs $action
--
Gitblit v1.9.1