From 6505be29ed7298c49b2a5b1020b5adc7c5ed236e Mon Sep 17 00:00:00 2001 From: R Veera Kumar Date: Fri, 8 Apr 2022 15:09:14 +0530 Subject: [PATCH] Important correction for xc3sprog build instructions --- HDL_workflow/fpga-boot-loaders-progs.mdwn | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/HDL_workflow/fpga-boot-loaders-progs.mdwn b/HDL_workflow/fpga-boot-loaders-progs.mdwn index a7070ce86..94ad8c1c5 100644 --- a/HDL_workflow/fpga-boot-loaders-progs.mdwn +++ b/HDL_workflow/fpga-boot-loaders-progs.mdwn @@ -89,7 +89,7 @@ auto-preparation script here: -e 's@^USBLIB@#USBLIB@' Makefile sed -i -e 's@usb_reset@ftdi_usb_reset@g' ujprog.c make - install -m 4755 ujprog /usr/local/bin + install -v -m 4755 ujprog /usr/local/bin cat > /etc/udev/rules.d/80-fpga-ulx3s.rules << EOF # this is for usb-serial tty device @@ -119,9 +119,9 @@ auto-preparation script here: cd xc3sprog git checkout 99e7de20aa8323712e5f70ff74d2079d5fb45bc7 + sed -i -e 's@^if(NOT LIBUSB3380_FOUND)@if(NOT LIBUSB3380_FOUND)\n include(FindPkgConfig)@' Findlibusb3380.cmake mkdir build; cd build - cmake \ - -DLIBFTDI_FOUND=YES -DLIBFTDI_INCLUDE_DIR="/usr/include/libftdi1" \ + cmake -DLIBFTDI_FOUND=YES -DLIBFTDI_INCLUDE_DIR="/usr/include/libftdi1" \ -DLIBFTDI_LIBRARIES="ftdi1" -DLIBUSB_FOUND=YES \ -DLIBUSB_INCLUDE_DIR="/usr/include" -DLIBUSB_LIBRARIES="usb" \ -DUSE_FTD2XX=OFF -DUSE_LIBUSB3380=OFF .. -- 2.30.2