From b641d662db1a0c3c6b52e8db0eef4ea8176df074 Mon Sep 17 00:00:00 2001
From: guowenxue <guowenxue@gmail.com>
Date: Mon, 27 Dec 2021 14:27:38 +0800
Subject: [PATCH] update buildroot.sh, add multimedia configure support
---
tools/buildroot/buildroot.sh | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/tools/buildroot/buildroot.sh b/tools/buildroot/buildroot.sh
index 1dad0ef..b936b17 100755
--- a/tools/buildroot/buildroot.sh
+++ b/tools/buildroot/buildroot.sh
@@ -11,6 +11,7 @@
BR_TAR=${BR_PAK}.tar.bz2
BR_CONF=${BR_VER}-cortexA7.config
+#BR_CONF=${BR_VER}-cortexA7-multimedia.config
JOBS=`cat /proc/cpuinfo | grep processor | wc -l`
@@ -56,7 +57,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 +66,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