X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=README;h=483b0d47df089da2afbd9d3200bb7d30f45597d3;hb=de1a21789295e0eaeebce1012ca968364364bee7;hp=73e5e72ef386ea6d3575483a51483e57d03aa1b5;hpb=94ca1bed405209b1fa36466174449f07b14127ab;p=sigrok-firmware-fx2lafw.git 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