From 9c222f3844cd06ce2d59511a01dcbfca8ad8e762 Mon Sep 17 00:00:00 2001
From: guowenxue <guowenxue@gmail.com>
Date: Thu, 30 Mar 2023 14:20:43 +0800
Subject: [PATCH] update bsp to lf-5.15.71-2.2.0, rename system image to distro, update download url

---
 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