Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lizhongxiao
OpenXG-RAN
Commits
9f81f574
Commit
9f81f574
authored
Jun 10, 2021
by
Raymond Knopp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
small changes in CMakeLists.txt
parent
fee94409
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
10 deletions
+16
-10
cmake_targets/CMakeLists.txt
cmake_targets/CMakeLists.txt
+11
-8
cmake_targets/build_oai
cmake_targets/build_oai
+5
-2
No files found.
cmake_targets/CMakeLists.txt
View file @
9f81f574
...
@@ -64,7 +64,8 @@ elseif (${RF_BOARD} STREQUAL "OAI_AW2SORI")
...
@@ -64,7 +64,8 @@ elseif (${RF_BOARD} STREQUAL "OAI_AW2SORI")
include_directories
(
"
${
OPENAIR_TARGETS
}
/ARCH/AW2SORI"
)
include_directories
(
"
${
OPENAIR_TARGETS
}
/ARCH/AW2SORI"
)
set
(
HW_SOURCE
${
HW_SOURCE
}
set
(
HW_SOURCE
${
HW_SOURCE
}
${
OPENAIR_TARGETS
}
/ARCH/AW2SORI/ARCH/AW2SORI/oaiori.c
)
${
OPENAIR_TARGETS
}
/ARCH/AW2SORI/ARCH/AW2SORI/oaiori.c
)
set
(
openair_HW_lib
"-shared -fPIC oaiori.c -msse4 -g -ggdb -lori"
)
LINK_DIRECTORIES
(
"/usr/local/lib"
)
set
(
openair_HW_lib
"-shared -fPIC -msse4 -g -ggdb -lori"
)
endif
(
${
RF_BOARD
}
STREQUAL
"OAI_USRP"
)
endif
(
${
RF_BOARD
}
STREQUAL
"OAI_USRP"
)
...
@@ -922,13 +923,6 @@ add_library(oai_lmssdrdevif MODULE ${HWLIB_LMSSDR_SOURCE} )
...
@@ -922,13 +923,6 @@ add_library(oai_lmssdrdevif MODULE ${HWLIB_LMSSDR_SOURCE} )
target_include_directories
(
oai_lmssdrdevif PRIVATE /usr/local/include/lime
)
target_include_directories
(
oai_lmssdrdevif PRIVATE /usr/local/include/lime
)
target_link_libraries
(
oai_lmssdrdevif LimeSuite
)
target_link_libraries
(
oai_lmssdrdevif LimeSuite
)
include_directories
(
"
${
OPENAIR_TARGETS
}
/ARCH/AW2SORI/"
)
set
(
HWLIB_AW2SORI_SOURCE
${
OPENAIR_TARGETS
}
/ARCH/AW2SORI/oaiori.c
)
add_library
(
thirdparty_transpro MODULE
${
HWLIB_AW2SORI_SOURCE
}
)
target_link_libraries
(
thirdparty_transpro
)
include_directories
(
"
${
OPENAIR_TARGETS
}
/ARCH/ETHERNET/USERSPACE/LIB/"
)
include_directories
(
"
${
OPENAIR_TARGETS
}
/ARCH/ETHERNET/USERSPACE/LIB/"
)
set
(
TPLIB_ETHERNET_SOURCE
set
(
TPLIB_ETHERNET_SOURCE
...
@@ -938,6 +932,15 @@ set(TPLIB_ETHERNET_SOURCE
...
@@ -938,6 +932,15 @@ set(TPLIB_ETHERNET_SOURCE
)
)
add_library
(
oai_eth_transpro MODULE
${
TPLIB_ETHERNET_SOURCE
}
)
add_library
(
oai_eth_transpro MODULE
${
TPLIB_ETHERNET_SOURCE
}
)
include_directories
(
"
${
OPENAIR_TARGETS
}
/ARCH/AW2SORI/"
)
link_directories
(
"/usr/local/lib"
)
set
(
HWLIB_AW2SORI_SOURCE
${
OPENAIR_TARGETS
}
/ARCH/AW2SORI/oaiori.c
)
add_library
(
aw2sori_transpro MODULE
${
HWLIB_AW2SORI_SOURCE
}
)
target_compile_options
(
aw2sori_transpro PRIVATE -shared -fPIC -msse4 -g -ggdb -DLITE_COMPILATION
)
target_link_libraries
(
aw2sori_transpro libori.so
)
include_directories
(
"
${
OPENAIR_TARGETS
}
/ARCH/IRIS/USERSPACE/LIB/"
)
include_directories
(
"
${
OPENAIR_TARGETS
}
/ARCH/IRIS/USERSPACE/LIB/"
)
set
(
option_HWIRISLIB_lib
"-l SoapySDR"
)
set
(
option_HWIRISLIB_lib
"-l SoapySDR"
)
set
(
HWLIB_IRIS_SOURCE
set
(
HWLIB_IRIS_SOURCE
...
...
cmake_targets/build_oai
View file @
9f81f574
...
@@ -946,8 +946,11 @@ function main() {
...
@@ -946,8 +946,11 @@ function main() {
echo_info
"liboai_device.so is linked to ADRV9371_ZC706 device library for Kernel
$SYRIQ_KMAJ
.
$SYRIQ_KMIN
"
echo_info
"liboai_device.so is linked to ADRV9371_ZC706 device library for Kernel
$SYRIQ_KMAJ
.
$SYRIQ_KMIN
"
elif
[
"
$HW
"
==
"OAI_AW2SORI"
]
;
then
elif
[
"
$HW
"
==
"OAI_AW2SORI"
]
;
then
compilations
\
compilations
\
$build_dir
thirdparty_transpro
$build_dir
aw2sori_transpro
\
$build_dir
oai_eth_transpro
libaw2sori_transpro.so
$dbin
/libaw2sori_transpro.so.
$REL
ln
-sf
libaw2sori_transpro.so libthirdparty_transpro.so
ln
-sf
$dbin
/libaw2sori_transpro.so.
$REL
$dbin
/libaw2sori_transpro.so
echo_info
"build libthirdparty_transpro.so for AW2SORI fronthaul"
echo_info
"build libthirdparty_transpro.so for AW2SORI fronthaul"
else
else
echo_info
"liboai_device.so is not linked to any device library"
echo_info
"liboai_device.so is not linked to any device library"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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