Skip to content

Commit

Permalink
Update cross-build.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
fanghuaqi authored Jan 25, 2024
1 parent 65c5699 commit 8b44305
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions contrib/cross-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8b44305

Please sign in to comment.