From 8b44305123dc1b7a2ac1865bf030b67e2b292dc7 Mon Sep 17 00:00:00 2001 From: Huaqi Fang <578567190@qq.com> Date: Thu, 25 Jan 2024 16:44:10 +0800 Subject: [PATCH] Update cross-build.sh --- contrib/cross-build.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/contrib/cross-build.sh b/contrib/cross-build.sh index 0aeb444395..35b6526c8a 100755 --- a/contrib/cross-build.sh +++ b/contrib/cross-build.sh @@ -155,11 +155,11 @@ fi # ftd2xx copy to sysroot if [ -d $FTD2XX_SRC ] ; then - FTD2XX_LIB_SRC=${FTD2XX_SRC}/Static/amd64/ + FTD2XX_LIB_SRC=${FTD2XX_SRC}/Static/amd64 if [[ "$HOST_TRIPLET" == *"w32"* ]] ; then - FTD2XX_LIB_SRC=${FTD2XX_SRC}/Static/i386/ + FTD2XX_LIB_SRC=${FTD2XX_SRC}/Static/i386 fi - cp -f ${FTD2XX_LIB_SRC}/* $SYSROOT/lib/ + cp -f ${FTD2XX_LIB_SRC}/* $SYSROOT/usr/lib/ fi # OpenOCD build & install into sysroot