O-RU: update build_oai to build nr-oru
This commit is contained in:
@@ -82,6 +82,8 @@ Options:
|
|||||||
Makes the NR softmodem
|
Makes the NR softmodem
|
||||||
--RU
|
--RU
|
||||||
Makes the OAI RRU
|
Makes the OAI RRU
|
||||||
|
--nrRU
|
||||||
|
Makes the NR RRU
|
||||||
--UE
|
--UE
|
||||||
Makes the UE specific parts (usim, nvram) from the given configuration file
|
Makes the UE specific parts (usim, nvram) from the given configuration file
|
||||||
--nrUE
|
--nrUE
|
||||||
@@ -227,6 +229,11 @@ function main() {
|
|||||||
TARGET_LIST="$TARGET_LIST oairu"
|
TARGET_LIST="$TARGET_LIST oairu"
|
||||||
echo_info "Will compile RRU"
|
echo_info "Will compile RRU"
|
||||||
shift;;
|
shift;;
|
||||||
|
--nrRU)
|
||||||
|
NRRU=1
|
||||||
|
TARGET_LIST="$TARGET_LIST nr-oru"
|
||||||
|
echo_info "Will compile NR O-RU"
|
||||||
|
shift;;
|
||||||
--UE)
|
--UE)
|
||||||
UE=1
|
UE=1
|
||||||
TARGET_LIST="$TARGET_LIST lte-uesoftmodem conf2uedata usim nvram"
|
TARGET_LIST="$TARGET_LIST lte-uesoftmodem conf2uedata usim nvram"
|
||||||
@@ -452,7 +459,7 @@ function main() {
|
|||||||
if [[ $TARGET_LIST != "" ]] && [[ -f $OPENAIR_DIR/CMakeLists.txt ]]; then
|
if [[ $TARGET_LIST != "" ]] && [[ -f $OPENAIR_DIR/CMakeLists.txt ]]; then
|
||||||
# add some default libraries that should always be built
|
# add some default libraries that should always be built
|
||||||
# for eNB, gNB, UEs, simulators
|
# for eNB, gNB, UEs, simulators
|
||||||
if [[ $gNB == 1 || $eNB == 1 || $UE == 1 || $nrUE == 1 || $SIMUS_PHY == 1 || $RU == 1 ]]; then
|
if [[ $gNB == 1 || $eNB == 1 || $UE == 1 || $nrUE == 1 || $SIMUS_PHY == 1 || $RU == 1 || $NRRU == 1 ]]; then
|
||||||
TARGET_LIST="$TARGET_LIST params_libconfig coding rfsimulator dfts params_yaml vrtsim rf_emulator"
|
TARGET_LIST="$TARGET_LIST params_libconfig coding rfsimulator dfts params_yaml vrtsim rf_emulator"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
@@ -68,7 +68,7 @@ RUN /bin/sh oaienv && \
|
|||||||
cd cmake_targets && \
|
cd cmake_targets && \
|
||||||
mkdir -p log && \
|
mkdir -p log && \
|
||||||
./build_oai \
|
./build_oai \
|
||||||
--ninja --gNB \
|
--ninja --gNB --nrRU \
|
||||||
--build-lib "telnetsrv enbscope uescope nrscope" \
|
--build-lib "telnetsrv enbscope uescope nrscope" \
|
||||||
-t oran_fhlib_5g --cmake-opt -Dxran_LOCATION=/opt/phy/fhi_lib/lib \
|
-t oran_fhlib_5g --cmake-opt -Dxran_LOCATION=/opt/phy/fhi_lib/lib \
|
||||||
--build-e2 --cmake-opt -DKPM_VERSION=$KPM_VERSION --cmake-opt -DE2AP_VERSION=$E2AP_VERSION \
|
--build-e2 --cmake-opt -DKPM_VERSION=$KPM_VERSION --cmake-opt -DE2AP_VERSION=$E2AP_VERSION \
|
||||||
|
|||||||
Reference in New Issue
Block a user