From: Uwe Hermann Date: Mon, 23 Jul 2012 13:40:25 +0000 (+0200) Subject: Update install instructions. X-Git-Tag: sigrok-firmware-fx2lafw-0.1.0~3 X-Git-Url: http://sigrok.org/gitweb/?p=sigrok-firmware-fx2lafw.git;a=commitdiff_plain;h=de1a21789295e0eaeebce1012ca968364364bee7 Update install instructions. --- diff --git a/README b/README index 73e5e72e..483b0d47 100644 --- a/README +++ b/README @@ -30,23 +30,16 @@ Building $ 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