From a41651b62ff13fd89aafefd5c1e0ef7a6e5b31ad Mon Sep 17 00:00:00 2001
From: guowenxue <guowenxue@gmail.com>
Date: Thu, 22 Aug 2024 18:03:49 +0800
Subject: [PATCH] rename 3rdparty to openlibs and rename CROSSTOOL to CROSS_COMPILER

---
 openlibs/busybox/build.sh |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/3rdparty/busybox/build.sh b/openlibs/busybox/build.sh
similarity index 92%
rename from 3rdparty/busybox/build.sh
rename to openlibs/busybox/build.sh
index 6773d80..615c9dd 100755
--- a/3rdparty/busybox/build.sh
+++ b/openlibs/busybox/build.sh
@@ -6,7 +6,7 @@
 
 LYFTP_SRC=http://master.weike-iot.com:2211/src/
 
-CROSSTOOL=/opt/gcc-aarch32-10.3-2021.07/bin/arm-none-linux-gnueabihf-
+CROSS_COMPILE=/opt/gcc-aarch32-10.3-2021.07/bin/arm-none-linux-gnueabihf-
 
 
 
@@ -59,7 +59,7 @@
 
     cd $SRC_NAME
 
-    sed -i "s|^CONFIG_CROSS_COMPILER_PREFIX.*|CONFIG_CROSS_COMPILER_PREFIX=\"${CROSSTOOL}\"|g" .config 
+    sed -i "s|^CONFIG_CROSS_COMPILER_PREFIX.*|CONFIG_CROSS_COMPILER_PREFIX=\"${CROSS_COMPILE}\"|g" .config 
     sed -i "s|^CONFIG_PREFIX.*|CONFIG_PREFIX=\"$ROOTFS_PATH\"|g" .config
 
     make 

--
Gitblit v1.9.1