From 512156de43d86f79d12ade8a6a3d6d018f751dd3 Mon Sep 17 00:00:00 2001 From: Dominic Spill Date: Thu, 23 Jul 2015 19:12:40 +0100 Subject: [PATCH] Sort readme install instructions --- host/README.md | 59 ++++++++++++++++++++++++-------------------------- 1 file changed, 28 insertions(+), 31 deletions(-) diff --git a/host/README.md b/host/README.md index e31c5e8ed..979ade332 100644 --- a/host/README.md +++ b/host/README.md @@ -1,6 +1,34 @@ This repository contains host software (Linux/Windows) for HackRF, a project to produce a low cost, open source software radio platform. +##How to build the host software on Linux: + +###Prerequisites for Linux (Debian/Ubuntu): + +`sudo apt-get install build-essential cmake libusb-1.0-0-dev` + +###Build host software on Linux: + +`cd host` + +`mkdir build` + +`cd build` + +`cmake ../ -DINSTALL_UDEV_RULES=ON` + +`make` + +`sudo make install` + +`sudo ldconfig` + +##Clean CMake temporary files/dirs: + +`cd host/build` + +`rm -rf *` + ##How to build host software on Windows: ###Prerequisites for cygwin or mingw: @@ -58,8 +86,6 @@ Solution file: `c:\hackrf\host\cmake\hackrf_all.sln` ##How to build host the software on FreeBSD -[Tomek "CeDeROM" CEDRO](http://www.tomek.cedro.info) is working on a Port for you - stay tuned! :-) - You can use the binary package: `# pkg install hackrf` @@ -68,35 +94,6 @@ You can build and install from ports: `# make install` -##How to build the host software on Linux: - -###Prerequisites for Linux (Debian/Ubuntu): - -`sudo apt-get install build-essential cmake libusb-1.0-0-dev` - -###Build host software on Linux: - -`cd host` - -`mkdir build` - -`cd build` - -`cmake ../ -DINSTALL_UDEV_RULES=ON` - -`make` - -`sudo make install` - -`sudo ldconfig` - -##Clean CMake temporary files/dirs: - -`cd host/build` - -`rm -rf *` - - principal author: Michael Ossmann http://greatscottgadgets.com/hackrf/