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/opencv/build.sh | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/3rdparty/opencv/build.sh b/openlibs/opencv/build.sh
similarity index 92%
rename from 3rdparty/opencv/build.sh
rename to openlibs/opencv/build.sh
index fa42ade..77179d5 100755
--- a/3rdparty/opencv/build.sh
+++ b/openlibs/opencv/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-
TOOLCHAIN=cortexa7.toolchain.cmake
@@ -61,7 +61,7 @@
cat >platforms/linux/${TOOLCHAIN} <<EOF
set(GCC_COMPILER_VERSION "" CACHE STRING "GCC Compiler version")
-set(GNU_MACHINE "${CROSSTOOL%*-}" CACHE STRING "GNU compiler triple")
+set(GNU_MACHINE "${CROSS_COMPILE%*-}" CACHE STRING "GNU compiler triple")
include("\${CMAKE_CURRENT_LIST_DIR}/arm.toolchain.cmake")
EOF
--
Gitblit v1.9.1