From ccddb7859446d5edb2833d6270fe41534acac11f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Leroy?= <frederic.leroy@b-com.com>
Date: Mon, 13 Jun 2016 12:07:16 +0200
Subject: [PATCH] build_oai: make USRP build possible without hardware
---
cmake_targets/tools/build_helper | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/cmake_targets/tools/build_helper b/cmake_targets/tools/build_helper
index 0babb9e423..7e2912b7d1 100755
--- a/cmake_targets/tools/build_helper
+++ b/cmake_targets/tools/build_helper
@@ -220,9 +220,16 @@ check_install_usrp_uhd_driver(){
$SUDO add-apt-repository ppa:ettusresearch/uhd -y
$SUDO apt-get update
$SUDO apt-get -y install python python-tk libboost-all-dev libusb-1.0-0-dev
- $SUDO apt-get -y install libuhd-dev libuhd003 uhd-host
+ $SUDO apt-get -y install libuhd-dev libuhd003
+}
+
+install_usrp_uhd_driver() {
+ # We move uhd-host apart because it depends on linux kernel version
+ # On newer kernels, it fails to install
+ $SUDO apt-get -y install uhd-host
$SUDO uhd_images_downloader
}
+
check_install_bladerf_driver(){
$SUDO add-apt-repository -y ppa:bladerf/bladerf
$SUDO apt-get update
--
GitLab