Commit d77f9ad0 authored by Raymond Knopp's avatar Raymond Knopp

build oairu ok

parent a135f261
......@@ -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
#######################################
......
......@@ -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
......
......@@ -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"
/**
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment