Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
oai
openairinterface5G
Commits
f48ea731
Commit
f48ea731
authored
Apr 01, 2015
by
thomasl
Browse files
#if USRP fix
git-svn-id:
http://svn.eurecom.fr/openair4G/trunk@6984
818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent
a8a0e504
Changes
1
Hide whitespace changes
Inline
Side-by-side
cmake_targets/CMakeLists.txt
View file @
f48ea731
...
...
@@ -325,7 +325,7 @@ add_list1_option(NB_ANTENNAS_RX "2" "Number of antennas in reception" "1" "2" "4
add_list1_option
(
NB_ANTENNAS_TX
"2"
"Number of antennas in transmission"
"1"
"2"
"4"
)
add_list1_option
(
NB_ANTENNAS_TXRX
"2"
"Number of antennas in ????"
"1"
"2"
"4"
)
add_list2_option
(
RF_BOARD
"EXMIMO"
"RF head type"
"False"
"EXMIMO"
"
OAI_
USRP"
"ETHERNET"
"CPRIGW"
)
add_list2_option
(
RF_BOARD
"EXMIMO"
"RF head type"
"False"
"EXMIMO"
"USRP"
"ETHERNET"
"CPRIGW"
)
if
(
${
RF_BOARD
}
STREQUAL
"EXMIMO"
)
set
(
DRIVER2013
)
...
...
@@ -335,7 +335,7 @@ if (${RF_BOARD} STREQUAL "EXMIMO")
${
OPENAIR_TARGETS
}
/ARCH/EXMIMO/USERSPACE/LIB/openair0_lib.c
${
OPENAIR_TARGETS
}
/ARCH/EXMIMO/USERSPACE/LIB/gain_control.c
)
elseif
(
${
RF_BOARD
}
STREQUAL
"
OAI_
USRP"
)
elseif
(
${
RF_BOARD
}
STREQUAL
"USRP"
)
include_directories
(
"
${
OPENAIR_TARGETS
}
/ARCH/USRP/USERSPACE/LIB/"
)
include_directories
(
"/opt/include/uhd"
)
set
(
HW_SOURCE
${
HW_SOURCE
}
...
...
@@ -1395,10 +1395,10 @@ pkg_search_module(CRYPTO libcrypto REQUIRED)
include_directories
(
${
CRYPTO_INCLUDE_DIRS
}
)
#use native cmake method as this package is not in pkg-config
if
(
${
RF_BOARD
}
STREQUAL
"
OAI_
USRP"
)
if
(
${
RF_BOARD
}
STREQUAL
"USRP"
)
find_package
(
Boost REQUIRED
)
include_directories
(
${
LIBBOOST_INCLUDE_DIR
}
)
endif
(
${
RF_BOARD
}
STREQUAL
"
OAI_
USRP"
)
endif
(
${
RF_BOARD
}
STREQUAL
"USRP"
)
pkg_search_module
(
OPENPGM openpgm-5.1
)
if
(
NOT
${
OPENPGM_FOUND
}
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment