From 27a21cc8aa53c2cbdad3099570bea9250cba3edf Mon Sep 17 00:00:00 2001 From: Bartosz Podrygajlo Date: Wed, 7 Jan 2026 17:59:10 +0100 Subject: [PATCH] O-RU: update build_oai to build nr-oru --- cmake_targets/build_oai | 9 ++++++++- docker/Dockerfile.build.fhi72.ubuntu | 2 +- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/cmake_targets/build_oai b/cmake_targets/build_oai index 0e4d092916..c6d1276e88 100755 --- a/cmake_targets/build_oai +++ b/cmake_targets/build_oai @@ -82,6 +82,8 @@ Options: Makes the NR softmodem --RU Makes the OAI RRU +--nrRU + Makes the NR RRU --UE Makes the UE specific parts (usim, nvram) from the given configuration file --nrUE @@ -227,6 +229,11 @@ function main() { TARGET_LIST="$TARGET_LIST oairu" echo_info "Will compile RRU" shift;; + --nrRU) + NRRU=1 + TARGET_LIST="$TARGET_LIST nr-oru" + echo_info "Will compile NR O-RU" + shift;; --UE) UE=1 TARGET_LIST="$TARGET_LIST lte-uesoftmodem conf2uedata usim nvram" @@ -452,7 +459,7 @@ function main() { if [[ $TARGET_LIST != "" ]] && [[ -f $OPENAIR_DIR/CMakeLists.txt ]]; then # add some default libraries that should always be built # 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" fi diff --git a/docker/Dockerfile.build.fhi72.ubuntu b/docker/Dockerfile.build.fhi72.ubuntu index 7b3ade05b0..3d483618cd 100644 --- a/docker/Dockerfile.build.fhi72.ubuntu +++ b/docker/Dockerfile.build.fhi72.ubuntu @@ -68,7 +68,7 @@ RUN /bin/sh oaienv && \ cd cmake_targets && \ mkdir -p log && \ ./build_oai \ - --ninja --gNB \ + --ninja --gNB --nrRU \ --build-lib "telnetsrv enbscope uescope nrscope" \ -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 \