Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lizhongxiao
OpenXG-RAN
Commits
170a8f17
Commit
170a8f17
authored
Sep 07, 2020
by
zhenghuangkun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add NGAP Config
parent
fe4b3c0a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
54 additions
and
1 deletion
+54
-1
cmake_targets/CMakeLists.txt
cmake_targets/CMakeLists.txt
+54
-1
No files found.
cmake_targets/CMakeLists.txt
View file @
170a8f17
...
...
@@ -436,6 +436,59 @@ add_library(S1AP_ENB
add_dependencies
(
S1AP_ENB rrc_flag s1ap_flag
)
# NGAP
# Same limitation as described in RRC: unknown generated file list
# so we generate it at cmake time
##############
set
(
NGAP_RELEASE R15
)
set
(
NGAP_DIR
${
OPENAIR3_DIR
}
/NGAP
)
make_version
(
NGAP_VERSION 15 8 0
)
set
(
NGAP_ASN_FILES
"ngap-15.8.0.asn1"
)
add_definitions
(
-DNGAP_VERSION=
${
NGAP_VERSION
}
)
set
(
NGAP_ASN_DIR
${
NGAP_DIR
}
/MESSAGES/ASN1/ASN1_files
)
set
(
NGAP_C_DIR
${
asn1_generated_dir
}
/NGAP_
${
NGAP_RELEASE
}
)
# Warning: if you modify ASN.1 source file to generate new C files, cmake should be re-run instead of make
execute_process
(
COMMAND
${
OPENAIR_CMAKE
}
/tools/make_asn1c_includes.sh
"
${
NGAP_C_DIR
}
"
"
${
NGAP_ASN_DIR
}
/
${
NGAP_ASN_FILES
}
"
"NGAP_"
-fno-include-deps
RESULT_VARIABLE ret
)
if
(
NOT
${
ret
}
STREQUAL 0
)
message
(
FATAL_ERROR
"
${
ret
}
: error"
)
endif
(
NOT
${
ret
}
STREQUAL 0
)
file
(
GLOB NGAP_source
${
NGAP_C_DIR
}
/*.c
)
add_custom_target
(
ngap_flag ALL
${
OPENAIR_CMAKE
}
/tools/make_asn1c_includes.sh
"
${
NGAP_C_DIR
}
"
"
${
NGAP_ASN_DIR
}
/
${
NGAP_ASN_FILES
}
"
"NGAP_"
-fno-include-deps
DEPENDS
"
${
NGAP_ASN_DIR
}
/
${
NGAP_ASN_FILES
}
"
)
add_library
(
NGAP_LIB
${
NGAP_source
}
# ${NGAP_DIR}/ngap_common.c
)
add_dependencies
(
NGAP_LIB rrc_flag ngap_flag
)
include_directories
(
"
${
NGAP_C_DIR
}
"
)
include_directories
(
"
${
NGAP_DIR
}
"
)
#add_library(NGAP_GNB
# ${NGAP_DIR}/ngap_gNB.c
# ${NGAP_DIR}/ngap_gNB_context_management_procedures.c
# ${NGAP_DIR}/ngap_gNB_decoder.c
# ${NGAP_DIR}/ngap_gNB_encoder.c
# ${NGAP_DIR}/ngap_gNB_handlers.c
# ${NGAP_DIR}/ngap_gNB_itti_messaging.c
# ${NGAP_DIR}/ngap_gNB_management_procedures.c
# ${NGAP_DIR}/ngap_gNB_nas_procedures.c
# ${NGAP_DIR}/ngap_gNB_nnsf.c
# ${NGAP_DIR}/ngap_gNB_overload.c
# ${NGAP_DIR}/ngap_gNB_trace.c
# ${NGAP_DIR}/ngap_gNB_ue_context.c
# )
#add_dependencies(NGAP_GNB rrc_flag ngap_flag)
#M2AP
# Same limitation as described in RRC/S1AP: unknown generated file list
# so we generate it at cmake time
...
...
@@ -2747,7 +2800,7 @@ target_link_libraries (nr-softmodem
-Wl,--start-group
UTIL HASHTABLE SCTP_CLIENT UDP SCHED_LIB SCHED_RU_LIB SCHED_NR_LIB PHY_NR PHY PHY_COMMON PHY_NR_COMMON PHY_RU LFDS NR_GTPV1U SECU_CN SECU_OSA
${
ITTI_LIB
}
${
FLPT_MSG_LIB
}
${
ASYNC_IF_LIB
}
${
FLEXRAN_AGENT_LIB
}
LFDS7
${
MSC_LIB
}
${
RAL_LIB
}
${
NAS_UE_LIB
}
RRC_LIB NR_RRC_LIB
S1AP_LIB S1AP_ENB L2 L2_NR MAC_NR_COMMON NFAPI_COMMON_LIB NFAPI_LIB NFAPI_VNF_LIB NFAPI_PNF_LIB NFAPI_USER_LIB
NGAP_LIB
S1AP_LIB S1AP_ENB L2 L2_NR MAC_NR_COMMON NFAPI_COMMON_LIB NFAPI_LIB NFAPI_VNF_LIB NFAPI_PNF_LIB NFAPI_USER_LIB
X2AP_LIB X2AP_ENB F1AP_LIB F1AP M2AP_LIB M2AP_ENB M3AP_LIB M3AP_ENB
${
PROTO_AGENT_LIB
}
${
FSPT_MSG_LIB
}
-Wl,--end-group z dl
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment