From 36ed4d9ff1a40cae67a923930409fd5fa75f8fa7 Mon Sep 17 00:00:00 2001 From: francescomani Date: Tue, 12 May 2026 16:58:32 +0200 Subject: [PATCH] get gnb ownership of RC to avoid compiling ENB_APP_SRC in NR Signed-off-by: francescomani --- CMakeLists.txt | 1 - executables/nr-softmodem.c | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 3d4b7afeaa..d8b1a04a30 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1381,7 +1381,6 @@ endif() add_library(L2_LTE_NR # temporary solution until 4G/5G code completely untangled (as evidenced by deletion of the following file) ${MAC_DIR}/dummy_functions.c - ${ENB_APP_SRC} ) target_link_libraries(L2_LTE_NR PRIVATE f1ap s1ap nr_rrc) diff --git a/executables/nr-softmodem.c b/executables/nr-softmodem.c index 7355efc1b3..c1bd360001 100644 --- a/executables/nr-softmodem.c +++ b/executables/nr-softmodem.c @@ -70,6 +70,7 @@ unsigned short config_frames[4] = {2,9,11,13}; #include "openair1/SCHED_NR/sched_nr.h" #include "openair2/SDAP/nr_sdap/nr_sdap.h" +RAN_CONTEXT_t RC; pthread_cond_t nfapi_sync_cond; pthread_mutex_t nfapi_sync_mutex; int nfapi_sync_var=-1; //!< protected by mutex \ref nfapi_sync_mutex