[Hackrf-dev] build-gnuradio script: Add CMake compile option for hackrf udev rules

王康 scateu at gmail.com
Tue Jun 24 19:46:08 EDT 2014


Hi,

  Your beautiful build-gnuradio script saves my life all the time!
Thanks for your work.

  During hackrf host compilation, it seems we need to add a cmake
option in order to add udev rules, so we don't need to sudo all the
time.

  The full command line is :

$ git clone https://github.com/mossmann/hackrf/
$ cd hackrf/host
$ mkdir build
$ cd build
$ cmake ../ -DINSTALL_UDEV_RULES=ON
$ make
$ sudo make install
$ sudo ldconfig

   Could you add the '-DINSTALL_UDEV_RULES=ON' part to your script?

   Thanks.



Wang 'scateu' Kang.


More information about the HackRF-dev mailing list