From 2a38807ea38df5f8da0f2424a8aacabb6948e363 Mon Sep 17 00:00:00 2001
From: guowenxue <guowenxue@gmail.com>
Date: Sun, 26 Dec 2021 14:23:24 +0800
Subject: [PATCH] add yocto meta layer
---
tools/buildroot/buildroot.sh | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/tools/buildroot/buildroot.sh b/tools/buildroot/buildroot.sh
index 1dad0ef..93ed41a 100755
--- a/tools/buildroot/buildroot.sh
+++ b/tools/buildroot/buildroot.sh
@@ -56,7 +56,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 +65,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