build oairu ok

This commit is contained in:
Raymond Knopp
2021-02-15 08:13:15 +01:00
parent a135f261b2
commit d77f9ad096
3 changed files with 7 additions and 12 deletions
+4 -4
View File
@@ -432,6 +432,9 @@ set(asn1_generated_dir ${OPENAIR_BIN_DIR})
set(protoc_call "${OPENAIR_CMAKE}/tools/generate_protobuf")
set(protobuf_generated_dir ${OPENAIR_BIN_DIR})
if (${RU} STREQUAL 1)
add_definitions(-DNO_RRC)
endif (${RU} STREQUAL 1)
# RRC
######
@@ -1039,10 +1042,6 @@ add_boolean_option(DEBUG_PHY_PROC False "Enable debugging of PHY layer
add_boolean_option(DEBUG_DLSCH False "Enable debugging of DLSCH physical layer channel")
add_boolean_option(MEX False "Enabling compilation with mex")
if (${RU} STREQUAL 0)
add_boolean_option(HAVE_RRC True "Enable RRC includes")
endif (${RU} STREQUAL 0)
##########################
# NAS LAYER OPTIONS
##########################
@@ -3011,6 +3010,7 @@ target_link_libraries (oairu
target_link_libraries (oairu pthread m ${CONFIG_LIB} rt ${CMAKE_DL_LIBS} ${T_LIB})
# lte-uesoftmodem is UE implementation
#######################################
+1 -1
View File
@@ -32,7 +32,7 @@
#ifndef __PLATFORM_CONSTANTS_H__
# define __PLATFORM_CONSTANTS_H__
#ifdef HAVE_RRC
#ifndef NO_RRC
#include "LTE_asn_constant.h"
#include "NR_asn_constant.h"
#else
+2 -7
View File
@@ -34,13 +34,8 @@
# define __OTG_DEFS_H__
/* \brief To define the NUMBER_OF_eNB_MAX and MAX_MOBILES_PER_ENB */
#if STANDALONE==1
#include "openairinterface5g_limits.h"
#else
// impl_defs_top.h includes openairinterface5g_limits.h
#include "PHY/impl_defs_top.h"
#endif
#include "openairinterface5g_limits.h"
#include <openair2/COMMON/platform_constants.h>
#include "otg_config.h"
/**