Skip to content
This repository has been archived by the owner on Nov 4, 2021. It is now read-only.

Commit

Permalink
#46 avoid building dfu-util docs (seems to need pandoc now)
Browse files Browse the repository at this point in the history
  • Loading branch information
edbordin committed Nov 21, 2020
1 parent 394a1b1 commit 9e73503
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/compile_dfu_util.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,18 @@ if [ $ARCH == "darwin" ]; then
--includedir=/opt/local/include \
USB_CFLAGS="-I$LIBUSB_ROOT/include/libusb-1.0" \
USB_LIBS="$LIBUSB_ROOT/lib/libusb-1.0.a -Wl,-framework,IOKit -Wl,-framework,CoreFoundation"
$MAKE
$MAKE SUBDIRS=src
elif [ ${ARCH:0:7} = "windows" ]
then
./configure USB_LIBS="-static -lpthread -lusb-1.0"
$MAKE
$MAKE SUBDIRS=src
elif [ ${ARCH} == "linux_armv7l" ] || [ ${ARCH} == "linux_aarch64" ]
then
./configure $HOST_FLAGS USB_CFLAGS="-I$WORK_DIR/build-data/include/libusb-1.0" USB_LIBS="-static $WORK_DIR/build-data/lib/$ARCH/libusb-1.0.a -lpthread"
$MAKE SUBDIRS=src
else
./configure USB_CFLAGS="-I$WORK_DIR/build-data/include/libusb-1.0" USB_LIBS="-static $WORK_DIR/build-data/lib/$ARCH/libusb-1.0.a -lpthread"
$MAKE
$MAKE SUBDIRS=src
fi

TOOLS="dfu-util dfu-prefix dfu-suffix"
Expand Down

0 comments on commit 9e73503

Please sign in to comment.