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
Michael Black
OpenXG-RAN
Commits
c8870fbc
Commit
c8870fbc
authored
Aug 12, 2019
by
frtabu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add option in build_oai script to build all optional libraries
parent
d3217ac3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
12 deletions
+15
-12
cmake_targets/build_oai
cmake_targets/build_oai
+14
-9
targets/RT/USER/lte-uesoftmodem.c
targets/RT/USER/lte-uesoftmodem.c
+1
-3
No files found.
cmake_targets/build_oai
View file @
c8870fbc
...
...
@@ -150,7 +150,7 @@ Options
--build-eclipse
Build eclipse project files. Paths are auto corrected by fixprj.sh
--build-lib <libraries>
Build optional shared library, <libraries> can be one or several of
$OPTIONAL_LIBRARIES
Build optional shared library, <libraries> can be one or several of
$OPTIONAL_LIBRARIES
or
\"
all
\"
--usrp-recplay
Build for I/Q record-playback modes
...
...
@@ -324,16 +324,21 @@ function main() {
shift
1
;;
--build-lib
)
BUILD_OPTLIB
=
""
for
alib
in
$2
;
do
if
[
"
$2
"
==
"all"
]
;
then
BUILD_OPTLIB
=
"
$OPTIONAL_LIBRARIES
"
echo_info
"Enabling build of all optional shared libraries (
$OPTIONAL_LIBRARIES
)"
else
for
alib
in
$2
;
do
for
oklib
in
$OPTIONAL_LIBRARIES
;
do
if
[
"
$alib
"
=
"
$oklib
"
]
;
then
BUILD_OPTLIB
=
"
$BUILD_OPTLIB
$alib
"
echo_info
"Enabling build of lib
${
alib
}
.so"
fi
if
[
"
$alib
"
=
"
$oklib
"
]
;
then
BUILD_OPTLIB
=
"
$BUILD_OPTLIB
$alib
"
echo_info
"Enabling build of lib
${
alib
}
.so"
fi
done
done
done
if
[
"
${
BUILD_OPTLIB
##
}
"
!=
"
$2
"
]
;
then
echo_fatal
"Unknown optional library in
$2
, valid libraries are
$OPTIONAL_LIBRARIES
"
if
[
"
${
BUILD_OPTLIB
##
}
"
!=
"
$2
"
]
;
then
echo_fatal
"Unknown optional library in
$2
, valid libraries are
$OPTIONAL_LIBRARIES
"
fi
fi
shift
2
;;
--usrp-recplay
)
...
...
targets/RT/USER/lte-uesoftmodem.c
View file @
c8870fbc
...
...
@@ -323,12 +323,10 @@ static void get_options(void) {
int
CC_id
;
int
tddflag
;
char
*
loopfile
=
NULL
;
int
dumpframe
=
0
;
int
timingadv
;
uint8_t
nfapi_mode
;
int
simL1flag
;
set_default_frame_parms
(
frame_parms
);
CONFIG_SETRTFLAG
(
CONFIG_NOEXITONHELP
);
/* unknown parameters on command line will be checked in main
...
...
@@ -616,7 +614,7 @@ int main( int argc, char **argv ) {
if
(
config_mod
==
NULL
)
{
exit_fun
(
"[SOFTMODEM] Error, configuration module init failed
\n
"
);
}
mode
=
normal_txrx
;
memset
(
&
openair0_cfg
[
0
],
0
,
sizeof
(
openair0_config_t
)
*
MAX_CARDS
);
set_latency_target
();
...
...
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