From a8a0e5044900d36d7af63859f4c4b0f2d6865150 Mon Sep 17 00:00:00 2001
From: thomasl <thomasl@eurecom.fr>
Date: Wed, 1 Apr 2015 14:43:56 +0000
Subject: [PATCH] fix more #if USRP

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@6981 818b1a75-f10b-46b9-bf7c-635c3b92a50f
---
 cmake_targets/build_oai.bash | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/cmake_targets/build_oai.bash b/cmake_targets/build_oai.bash
index 883fa1ef31..91b25e5612 100755
--- a/cmake_targets/build_oai.bash
+++ b/cmake_targets/build_oai.bash
@@ -86,8 +86,6 @@ do
             shift 2;;
        -w | --hardware)
             HW="$2" #"${i#*=}"
-            # Use OAI_USRP  as the key work USRP is used inside UHD driver
-            [ "$HW" == "USRP" ] && HW=OAI_USRP
             echo_info "setting hardware to: $HW"
             shift 2;;
 	--oaisim)
@@ -148,7 +146,7 @@ if [ "$INSTALL_EXTERNAL" = "1" ] ; then
    check_install_oai_software
    echo_info "Making X.509 certificates"
    make_certs eur
-   if [ "$HW" == "OAI_USRP" ] ; then
+   if [ "$HW" == "USRP" ] ; then
      echo_info "installing packages for USRP support"
      check_install_usrp_uhd_driver
    fi
-- 
GitLab