From c8e53353b9cfe1785b051c76e8e90b0b8e739b40 Mon Sep 17 00:00:00 2001 From: lkcl Date: Fri, 8 Apr 2022 09:24:04 +0100 Subject: [PATCH] --- HDL_workflow/fpga-boot-loaders-progs.mdwn | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/HDL_workflow/fpga-boot-loaders-progs.mdwn b/HDL_workflow/fpga-boot-loaders-progs.mdwn index 9c7f5389c..57267a9cf 100644 --- a/HDL_workflow/fpga-boot-loaders-progs.mdwn +++ b/HDL_workflow/fpga-boot-loaders-progs.mdwn @@ -52,7 +52,7 @@ auto-preparation script here: cd dfu-util git checkout v0.11 ./autogen.sh - ./configure --prefix=/usr/local/fpga-boot-load-prog + ./configure make -j$(nproc) make install cd .. @@ -69,7 +69,7 @@ auto-preparation script here: cd openFPGALoader git checkout v0.8.0 mkdir build; cd build - cmake -DCMAKE_INSTALL_PREFIX=/usr/local/fpga-boot-load-prog .. + cmake . make -j$(nproc) make install cd .. @@ -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/fpga-boot-load-prog/bin + install -m 4755 ujprog /usr/local/bin cat > /etc/udev/rules.d/80-fpga-ulx3s.rules << EOF # this is for usb-serial tty device @@ -108,7 +108,7 @@ auto-preparation script here: cd fujprog git checkout v4.8 mkdir build; cd build - cmake -DCMAKE_INSTALL_PREFIX=/usr/local/fpga-boot-load-prog .. + cmake .. make -j$(nproc) make install cd ../.. @@ -120,7 +120,7 @@ auto-preparation script here: cd xc3sprog git checkout 99e7de20aa8323712e5f70ff74d2079d5fb45bc7 mkdir build; cd build - cmake -DCMAKE_INSTALL_PREFIX=/usr/local/fpga-boot-load-prog \ + cmake \ -DLIBFTDI_FOUND=YES -DLIBFTDI_INCLUDE_DIR="/usr/include/libftdi1" \ -DLIBFTDI_LIBRARIES="ftdi1" -DLIBUSB_FOUND=YES \ -DLIBUSB_INCLUDE_DIR="/usr/include" -DLIBUSB_LIBRARIES="usb" \ @@ -136,8 +136,8 @@ auto-preparation script here: cd ecpprog git checkout 7212b56a9d2fc6de534e06636a1c6d8b0c6f80ab cd ecpprog - make PREFIX=/usr/local/fpga-boot-load-prog - make PREFIX=/usr/local/fpga-boot-load-prog install + make + make install cd ../.. # Install udev rules for boards -- 2.30.2