mirror of
https://gitlab.eurecom.fr/oai/openairinterface5g.git
synced 2026-07-13 04:30:28 +00:00
asn1c: use better version of asn1c
We don't work much on asn1c. The version we use has several bugs. There is an active community out there that fixes bugs and improves asn1c. Let's use their version.
This commit is contained in:
@@ -1,10 +1,21 @@
|
||||
set(NRPPA_GRAMMAR ASN1/38455.asn)
|
||||
|
||||
set(nrppa_source
|
||||
ANY_aper.c
|
||||
ANY_ber.c
|
||||
ANY.c
|
||||
ANY_jer.c
|
||||
ANY_uper.c
|
||||
ANY_xer.c
|
||||
aper_decoder.c
|
||||
aper_encoder.c
|
||||
aper_opentype.c
|
||||
aper_support.c
|
||||
asn_application.c
|
||||
asn_bit_data.c
|
||||
asn_codecs_prim_ber.c
|
||||
asn_codecs_prim.c
|
||||
asn_codecs_prim_xer.c
|
||||
asn_internal.c
|
||||
asn_random_fill.c
|
||||
asn_SEQUENCE_OF.c
|
||||
@@ -13,17 +24,67 @@ ber_decoder.c
|
||||
ber_tlv_length.c
|
||||
ber_tlv_tag.c
|
||||
BIT_STRING.c
|
||||
BOOLEAN.c
|
||||
BIT_STRING_jer.c
|
||||
BIT_STRING_print.c
|
||||
BIT_STRING_rfill.c
|
||||
BIT_STRING_uper.c
|
||||
BIT_STRING_xer.c
|
||||
constraints.c
|
||||
constr_CHOICE_aper.c
|
||||
constr_CHOICE_ber.c
|
||||
constr_CHOICE.c
|
||||
constr_CHOICE_jer.c
|
||||
constr_CHOICE_print.c
|
||||
constr_CHOICE_rfill.c
|
||||
constr_CHOICE_uper.c
|
||||
constr_CHOICE_xer.c
|
||||
constr_SEQUENCE_aper.c
|
||||
constr_SEQUENCE_ber.c
|
||||
constr_SEQUENCE.c
|
||||
constr_SEQUENCE_jer.c
|
||||
constr_SEQUENCE_OF_aper.c
|
||||
constr_SEQUENCE_OF_ber.c
|
||||
constr_SEQUENCE_OF.c
|
||||
constr_SEQUENCE_OF_jer.c
|
||||
constr_SEQUENCE_OF_uper.c
|
||||
constr_SEQUENCE_OF_xer.c
|
||||
constr_SEQUENCE_print.c
|
||||
constr_SEQUENCE_rfill.c
|
||||
constr_SEQUENCE_uper.c
|
||||
constr_SEQUENCE_xer.c
|
||||
constr_SET_OF_aper.c
|
||||
constr_SET_OF_ber.c
|
||||
constr_SET_OF.c
|
||||
constr_SET_OF_jer.c
|
||||
constr_SET_OF_print.c
|
||||
constr_SET_OF_rfill.c
|
||||
constr_SET_OF_uper.c
|
||||
constr_SET_OF_xer.c
|
||||
constr_TYPE.c
|
||||
der_encoder.c
|
||||
GraphicString.c
|
||||
INTEGER_aper.c
|
||||
INTEGER_ber.c
|
||||
INTEGER.c
|
||||
INTEGER_jer.c
|
||||
INTEGER_print.c
|
||||
INTEGER_rfill.c
|
||||
INTEGER_uper.c
|
||||
INTEGER_xer.c
|
||||
jer_encoder.c
|
||||
NativeEnumerated_aper.c
|
||||
NativeEnumerated.c
|
||||
NativeEnumerated_jer.c
|
||||
NativeEnumerated_uper.c
|
||||
NativeEnumerated_xer.c
|
||||
NativeInteger_aper.c
|
||||
NativeInteger_ber.c
|
||||
NativeInteger.c
|
||||
NativeInteger_jer.c
|
||||
NativeInteger_print.c
|
||||
NativeInteger_rfill.c
|
||||
NativeInteger_uper.c
|
||||
NativeInteger_xer.c
|
||||
NRPPA_AbortTransmission.c
|
||||
NRPPA_ActivationTime.c
|
||||
NRPPA_ActiveULBWP.c
|
||||
@@ -72,6 +133,7 @@ NRPPA_E-CID-MeasurementResult.c
|
||||
NRPPA_E-CIDMeasurementTerminationCommand.c
|
||||
NRPPA_ErrorIndication.c
|
||||
NRPPA_EUTRACellIdentifier.c
|
||||
NRPPA_EXTERNAL.c
|
||||
NRPPA_GeographicalCoordinates.c
|
||||
NRPPA_GNB-RxTxTimeDiff.c
|
||||
NRPPA_GNBRxTxTimeDiffMeas.c
|
||||
@@ -341,26 +403,57 @@ NRPPA_WLANMeasurementResult.c
|
||||
NRPPA_WLANMeasurementResult-Item.c
|
||||
NRPPA_WLANOperatingClass.c
|
||||
NRPPA_WLAN-RSSI.c
|
||||
NULL_aper.c
|
||||
NULL_ber.c
|
||||
NULL.c
|
||||
NULL_jer.c
|
||||
NULL_print.c
|
||||
NULL_rfill.c
|
||||
NULL_uper.c
|
||||
NULL_xer.c
|
||||
ObjectDescriptor.c
|
||||
OBJECT_IDENTIFIER.c
|
||||
OBJECT_IDENTIFIER_jer.c
|
||||
OBJECT_IDENTIFIER_print.c
|
||||
OBJECT_IDENTIFIER_rfill.c
|
||||
OBJECT_IDENTIFIER_xer.c
|
||||
OCTET_STRING_aper.c
|
||||
OCTET_STRING_ber.c
|
||||
OCTET_STRING.c
|
||||
OCTET_STRING_jer.c
|
||||
OCTET_STRING_print.c
|
||||
OCTET_STRING_rfill.c
|
||||
OCTET_STRING_uper.c
|
||||
OCTET_STRING_xer.c
|
||||
OPEN_TYPE_aper.c
|
||||
OPEN_TYPE_ber.c
|
||||
OPEN_TYPE.c
|
||||
OPEN_TYPE_uper.c
|
||||
OPEN_TYPE_xer.c
|
||||
per_decoder.c
|
||||
per_encoder.c
|
||||
per_opentype.c
|
||||
per_support.c
|
||||
uper_decoder.c
|
||||
uper_encoder.c
|
||||
uper_opentype.c
|
||||
uper_support.c
|
||||
xer_decoder.c
|
||||
xer_encoder.c
|
||||
xer_support.c
|
||||
|
||||
)
|
||||
|
||||
set(nrppa_headers
|
||||
ANY.h
|
||||
aper_decoder.h
|
||||
aper_encoder.h
|
||||
aper_opentype.h
|
||||
aper_support.h
|
||||
asn_application.h
|
||||
asn_bit_data.h
|
||||
asn_codecs.h
|
||||
asn_codecs_prim.h
|
||||
asn_config.h
|
||||
asn_internal.h
|
||||
asn_ioc.h
|
||||
asn_random_fill.h
|
||||
@@ -371,7 +464,6 @@ ber_decoder.h
|
||||
ber_tlv_length.h
|
||||
ber_tlv_tag.h
|
||||
BIT_STRING.h
|
||||
BOOLEAN.h
|
||||
constraints.h
|
||||
constr_CHOICE.h
|
||||
constr_SEQUENCE.h
|
||||
@@ -379,7 +471,9 @@ constr_SEQUENCE_OF.h
|
||||
constr_SET_OF.h
|
||||
constr_TYPE.h
|
||||
der_encoder.h
|
||||
GraphicString.h
|
||||
INTEGER.h
|
||||
jer_encoder.h
|
||||
NativeEnumerated.h
|
||||
NativeInteger.h
|
||||
NRPPA_AbortTransmission.h
|
||||
@@ -431,6 +525,7 @@ NRPPA_E-CID-MeasurementResult.h
|
||||
NRPPA_E-CIDMeasurementTerminationCommand.h
|
||||
NRPPA_ErrorIndication.h
|
||||
NRPPA_EUTRACellIdentifier.h
|
||||
NRPPA_EXTERNAL.h
|
||||
NRPPA_GeographicalCoordinates.h
|
||||
NRPPA_GNB-RxTxTimeDiff.h
|
||||
NRPPA_GNBRxTxTimeDiffMeas.h
|
||||
@@ -701,6 +796,7 @@ NRPPA_WLANMeasurementResult-Item.h
|
||||
NRPPA_WLANOperatingClass.h
|
||||
NRPPA_WLAN-RSSI.h
|
||||
NULL.h
|
||||
ObjectDescriptor.h
|
||||
OBJECT_IDENTIFIER.h
|
||||
OCTET_STRING.h
|
||||
OPEN_TYPE.h
|
||||
@@ -708,8 +804,11 @@ per_decoder.h
|
||||
per_encoder.h
|
||||
per_opentype.h
|
||||
per_support.h
|
||||
uper_decoder.h
|
||||
uper_encoder.h
|
||||
uper_opentype.h
|
||||
uper_support.h
|
||||
xer_decoder.h
|
||||
xer_encoder.h
|
||||
xer_support.h
|
||||
|
||||
)
|
||||
)
|
||||
|
||||
@@ -10,7 +10,7 @@ include(ASN1/38455.cmake)
|
||||
#endif()
|
||||
|
||||
add_custom_command(OUTPUT ${nrppa_source} ${nrppa_headers}
|
||||
COMMAND ASN1C_PREFIX=NRPPA_ asn1c -gen-PER -no-gen-OER -fcompound-names -no-gen-example -findirect-choice -fno-include-deps -D ${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/${NRPPA_GRAMMAR}
|
||||
COMMAND ASN1C_PREFIX=NRPPA_ asn1c -gen-APER -gen-UPER -no-gen-OER -fcompound-names -no-gen-example -findirect-choice -fno-include-deps -D ${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/${NRPPA_GRAMMAR}
|
||||
DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/${NRPPA_GRAMMAR}
|
||||
COMMENT "Generating NRPPA source files from ${CMAKE_CURRENT_SOURCE_DIR}/${NRPPA_GRAMMAR}"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user