Omit JER compilation for NRPPA ASN.1

We don't use JER. This avoids compilation problems, such as:

    /usr/bin/ld: openair3/NRPPA/MESSAGES/libasn1_nrppa.a(INTEGER_jer.c.o): in function `INTEGER_decode_jer':
    tmp.MtrwVDhQqY/openair3/NRPPA/MESSAGES/INTEGER_jer.c:186:(.text+0x5b8): undefined reference to `jer_decode_primitive
This commit is contained in:
Robert Schmidt
2025-09-11 10:10:14 +02:00
parent 72371ba10b
commit eef092c318
2 changed files with 1 additions and 15 deletions

View File

@@ -4,7 +4,6 @@ set(nrppa_source
ANY_aper.c
ANY_ber.c
ANY.c
ANY_jer.c
ANY_uper.c
ANY_xer.c
aper_decoder.c
@@ -24,7 +23,6 @@ ber_decoder.c
ber_tlv_length.c
ber_tlv_tag.c
BIT_STRING.c
BIT_STRING_jer.c
BIT_STRING_print.c
BIT_STRING_rfill.c
BIT_STRING_uper.c
@@ -33,7 +31,6 @@ 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
@@ -41,11 +38,9 @@ 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
@@ -55,7 +50,6 @@ 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
@@ -66,21 +60,17 @@ 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
@@ -406,21 +396,18 @@ 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
@@ -473,7 +460,6 @@ constr_TYPE.h
der_encoder.h
GraphicString.h
INTEGER.h
jer_encoder.h
NativeEnumerated.h
NativeInteger.h
NRPPA_AbortTransmission.h

View File

@@ -12,7 +12,7 @@ include(ASN1/38455.cmake)
run_asn1c(${CMAKE_CURRENT_SOURCE_DIR}/${NRPPA_GRAMMAR}
"NRPPA_"
OUTPUT ${nrppa_source} ${nrppa_headers}
OPTIONS -gen-APER -gen-UPER -no-gen-OER -fcompound-names -no-gen-example -findirect-choice -fno-include-deps
OPTIONS -gen-APER -gen-UPER -no-gen-OER -no-gen-JER -fcompound-names -no-gen-example -findirect-choice -fno-include-deps
COMMENT "NRPPA source files"
)