From 6bec155266499a4dd80f3010947b947de826b21c Mon Sep 17 00:00:00 2001
From: guowenxue <guowenxue@gmail.com>
Date: Thu, 06 Oct 2022 21:20:03 +0800
Subject: [PATCH] update setup_tools.sh to remove buildroot
---
tools/buildroot/buildroot.sh | 10 +++++++---
1 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/tools/buildroot/buildroot.sh b/tools/buildroot/buildroot.sh
index 1dad0ef..878ed57 100755
--- a/tools/buildroot/buildroot.sh
+++ b/tools/buildroot/buildroot.sh
@@ -8,9 +8,12 @@
BR_VER=buildroot-2021.02.7
BR_PAK=${BR_VER}-packets
-BR_TAR=${BR_PAK}.tar.bz2
+BR_TAR=${BR_PAK}.tar.bz2
BR_CONF=${BR_VER}-cortexA7.config
+
+# This configure file support QT, opencv...
+#BR_CONF=${BR_VER}-cortexA7-multimedia.config
JOBS=`cat /proc/cpuinfo | grep processor | wc -l`
@@ -56,7 +59,7 @@
printf "\n\n -- decompress ${BR_VER} -- \n\n"
tar -xjf ${BR_PAK}/buildroot/${BR_VER}.tar.bz2
- mv ${BR_PAK} ${BR_VER}/dl
+ mv ${BR_PAK} ${BR_VER}/tarballs
}
function do_patch()
@@ -65,7 +68,8 @@
cd $BR_VER
- cp dl/buildroot/$BR_CONF .config
+ cp tarballs/buildroot/$BR_CONF .config
+ cp tarballs/busybox/busybox.config package/busybox/
sed -i "s|^BR2_HOST_DIR=.*|BR2_HOST_DIR=\"${INST_PATH}\"|g" .config
cd -
--
Gitblit v1.9.1