$ make
-Usage
------
-
-Copy the generated *.fw file for your device (e.g. fx2lafw-saleae-logic.fw)
-into the $prefix/share/sigrok-firmware directory (create it, if needed).
-
-Replace $prefix with the install prefix of sigrok, e.g. /usr or /usr/local.
+Installation
+------------
-Example (assuming /usr/local as $prefix):
+ $ sudo make install
- $ sudo mkdir /usr/local/share/sigrok-firmware
+The generated *.fw files are installed into /usr/local/share/sigrok-firmware.
- $ sudo cp hw/saleae-logic/build/fx2lafw-saleae-logic.fw \
- /usr/local/share/sigrok-firmware
+You can override the install location like this:
-The sigrok frontends (command-line or GUI) will automatically search for
-firmware files there and automatically use/upload them.
+ $ sudo make install DESTDIR=/usr/share/sigrok-firmware
fx2lib