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
wangwenhui
OpenXG-RAN
Commits
381fa723
Commit
381fa723
authored
Aug 03, 2020
by
laurent
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove need to set /data/opencells-ran/../oaiCloneFapi before calling cmake
parent
2b5c6a1e
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
cmake_targets/CMakeLists.txt
cmake_targets/CMakeLists.txt
+5
-1
executables/main-ocp.c
executables/main-ocp.c
+0
-1
No files found.
cmake_targets/CMakeLists.txt
View file @
381fa723
...
...
@@ -27,6 +27,10 @@ cmake_minimum_required (VERSION 3.0)
# Base directories, compatible with legacy OAI building #
#########################################################
set
(
OPENAIR_DIR $ENV{OPENAIR_DIR}
)
if
(
"
${
OPENAIR_DIR
}
"
STREQUAL
""
)
string
(
REGEX REPLACE
"/cmake_targets.*$"
""
OPENAIR_DIR
${
CMAKE_CURRENT_BINARY_DIR
}
)
endif
()
set
(
NFAPI_DIR
${
OPENAIR_DIR
}
/nfapi/open-nFAPI
)
set
(
NFAPI_USER_DIR
${
OPENAIR_DIR
}
/nfapi/oai_integration
)
set
(
OPENAIR1_DIR
${
OPENAIR_DIR
}
/openair1
)
...
...
@@ -2624,7 +2628,7 @@ add_executable(ocp-enb
${
CONFIG_SOURCES
}
${
SHLIB_LOADER_SOURCES
}
)
add_dependencies
(
ocp-enb rrc_flag s1ap_flag x2_flag oai_iqplayer
)
add_dependencies
(
ocp-enb rrc_flag s1ap_flag x2_flag oai_iqplayer
coding params_libconfig rfsimulator
)
target_link_libraries
(
ocp-enb
-Wl,--start-group
...
...
executables/main-ocp.c
View file @
381fa723
...
...
@@ -97,7 +97,6 @@ void exit_function(const char *file, const char *function, const int line, const
if
(
s
!=
NULL
)
{
printf
(
"%s:%d %s() Exiting OAI softmodem: %s
\n
"
,
file
,
line
,
function
,
s
);
}
softmodem_printresources
(
0
,(
telnet_printfunc_t
)
printf
);
close_log_mem
();
oai_exit
=
1
;
...
...
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