From ffa30c94461867d026fe2608329d65718e9014bd Mon Sep 17 00:00:00 2001
From: Rohit Gupta <rohit.gupta@eurecom.fr>
Date: Fri, 9 Oct 2015 18:36:53 +0200
Subject: [PATCH] updated build script to always install USRP/BLADERF drivers
 during installation

---
 cmake_targets/build_oai | 13 ++++---------
 1 file changed, 4 insertions(+), 9 deletions(-)

diff --git a/cmake_targets/build_oai b/cmake_targets/build_oai
index cbbfa98045..57f7ff6132 100755
--- a/cmake_targets/build_oai
+++ b/cmake_targets/build_oai
@@ -262,15 +262,10 @@ function main() {
   if [ "$INSTALL_EXTERNAL" = "1" ] ; then
     echo_info "Installing packages"
     check_install_oai_software
-    if [ "$HW" == "OAI_USRP" ] ; then
-      echo_info "installing packages for USRP support"
-      check_install_usrp_uhd_driver
-    fi
-    if [ "$HW" == "OAI_BLADERF" ] ; then
-      echo_info "installing packages for BALDERF support"
-      check_install_bladerf_driver
-    fi
-
+    echo_info "installing packages for USRP support"
+    check_install_usrp_uhd_driver
+    echo_info "installing packages for BALDERF support"
+    check_install_bladerf_driver
   fi
 
   if [ "$INSTALL_OPTIONAL" = "1" ] ; then
-- 
GitLab