Change in osmo-iuh[master]: Cosmetic: put asn1c parameters in separate lines

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

osmith gerrit-no-reply at lists.osmocom.org
Fri Nov 12 15:22:31 UTC 2021


osmith has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-iuh/+/26218 )


Change subject: Cosmetic: put asn1c parameters in separate lines
......................................................................

Cosmetic: put asn1c parameters in separate lines

Change-Id: Id1425753f9b4cbce172a1b875a680aa189bb5737
---
M src/hnbap/Makefile.am
M src/ranap/Makefile.am
M src/rua/Makefile.am
M src/sabp/Makefile.am
4 files changed, 32 insertions(+), 4 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-iuh refs/changes/18/26218/1

diff --git a/src/hnbap/Makefile.am b/src/hnbap/Makefile.am
index 15bee55..ca1df17 100644
--- a/src/hnbap/Makefile.am
+++ b/src/hnbap/Makefile.am
@@ -243,7 +243,14 @@
 regen: regenerate-from-asn1-source
 
 regenerate-from-asn1-source:
-	ASN1C_PREFIX="HNBAP_" asn1c -R -fcompound-names -gen-PER $(HNBAP_ASN1)/HNBAP-CommonDataTypes.asn $(HNBAP_ASN1)/HNBAP-Constants.asn $(HNBAP_ASN1)/HNBAP-IEs.asn $(HNBAP_ASN1)/HNBAP-PDU.asn
+	ASN1C_PREFIX="HNBAP_" asn1c \
+		-R \
+		-fcompound-names \
+		-gen-PER \
+		$(HNBAP_ASN1)/HNBAP-CommonDataTypes.asn \
+		$(HNBAP_ASN1)/HNBAP-Constants.asn \
+		$(HNBAP_ASN1)/HNBAP-IEs.asn \
+		$(HNBAP_ASN1)/HNBAP-PDU.asn
 #	change include style to `#include <dir/foo.h>'
 	$(top_srcdir)/move-asn1-header-files.sh osmocom/hnbap $(ASN_MODULE_INC)
 #	Finally copy *.c from buildir to srcdir:
diff --git a/src/ranap/Makefile.am b/src/ranap/Makefile.am
index 1193dce..0ef9523 100644
--- a/src/ranap/Makefile.am
+++ b/src/ranap/Makefile.am
@@ -1169,7 +1169,14 @@
 regen: regenerate-from-asn1-source
 
 regenerate-from-asn1-source:
-	ASN1C_PREFIX="RANAP_" asn1c -fcompound-names -R -gen-PER $(top_srcdir)/asn1/ranap/RANAP-CommonDataTypes.asn $(top_srcdir)/asn1/ranap/RANAP-Constants.asn $(top_srcdir)/asn1/ranap/RANAP-IEs.asn $(top_srcdir)/asn1/ranap/RANAP-PDU.asn
+	ASN1C_PREFIX="RANAP_" asn1c \
+		-fcompound-names \
+		-R \
+		-gen-PER \
+		$(top_srcdir)/asn1/ranap/RANAP-CommonDataTypes.asn \
+		$(top_srcdir)/asn1/ranap/RANAP-Constants.asn \
+		$(top_srcdir)/asn1/ranap/RANAP-IEs.asn \
+		$(top_srcdir)/asn1/ranap/RANAP-PDU.asn
 	sed -i '7i#include <constr_CHOICE.h>' RANAP_ChosenEncryptionAlgorithm.h RANAP_ChosenIntegrityProtectionAlgorithm.h RANAP_IMSI.h RANAP_PLMNidentity.h RANAP_RAB-ReleaseFailedList.c RANAP_RAB-ReleaseList.c RANAP_RAB-SetupOrModifyList.c RANAP_ResetResourceList.c RANAP_ResetResourceAckList.c
 #	change include style to `#include <dir/foo.h>'
 	$(top_srcdir)/move-asn1-header-files.sh osmocom/ranap $(ASN_MODULE_INC)
diff --git a/src/rua/Makefile.am b/src/rua/Makefile.am
index 8cb2e7d..23ff20e 100644
--- a/src/rua/Makefile.am
+++ b/src/rua/Makefile.am
@@ -81,7 +81,14 @@
 regen: regenerate-from-asn1-source
 
 regenerate-from-asn1-source:
-	ASN1C_PREFIX="RUA_" asn1c -R -fcompound-names -gen-PER $(top_srcdir)/asn1/rua/RUA-CommonDataTypes.asn $(top_srcdir)/asn1/rua/RUA-Constants.asn $(top_srcdir)/asn1/rua/RUA-IEs.asn $(top_srcdir)/asn1/rua/RUA-PDU.asn
+	ASN1C_PREFIX="RUA_" asn1c \
+		-R \
+		-fcompound-names \
+		-gen-PER \
+		$(top_srcdir)/asn1/rua/RUA-CommonDataTypes.asn \
+		$(top_srcdir)/asn1/rua/RUA-Constants.asn \
+		$(top_srcdir)/asn1/rua/RUA-IEs.asn \
+		$(top_srcdir)/asn1/rua/RUA-PDU.asn
 #	change include style to `#include <dir/foo.h>'
 	$(top_srcdir)/move-asn1-header-files.sh osmocom/rua $(ASN_MODULE_INC)
 #	Finally copy *.c from buildir to srcdir:
diff --git a/src/sabp/Makefile.am b/src/sabp/Makefile.am
index 0665db4..8dc1390 100644
--- a/src/sabp/Makefile.am
+++ b/src/sabp/Makefile.am
@@ -135,7 +135,14 @@
 regen: regenerate-from-asn1-source
 
 regenerate-from-asn1-source:
-	ASN1C_PREFIX="SABP_" asn1c -R -fcompound-names -gen-PER $(top_srcdir)/asn1/sabp/SABP-CommonDataTypes.asn $(top_srcdir)/asn1/sabp/SABP-Constants.asn $(top_srcdir)/asn1/sabp/SABP-IEs.asn $(top_srcdir)/asn1/sabp/SABP-PDU.asn
+	ASN1C_PREFIX="SABP_" asn1c \
+		-R \
+		-fcompound-names \
+		-gen-PER \
+		$(top_srcdir)/asn1/sabp/SABP-CommonDataTypes.asn \
+		$(top_srcdir)/asn1/sabp/SABP-Constants.asn \
+		$(top_srcdir)/asn1/sabp/SABP-IEs.asn \
+		$(top_srcdir)/asn1/sabp/SABP-PDU.asn
 #	add missing includes
 	sed -i '/#include "SABP_Serial-Number.h"/a #include <constr_CHOICE.h>' SABP_Old-Serial-Number.h SABP_New-Serial-Number.h
 #	change include style to `#include <dir/foo.h>'

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-iuh/+/26218
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-iuh
Gerrit-Branch: master
Gerrit-Change-Id: Id1425753f9b4cbce172a1b875a680aa189bb5737
Gerrit-Change-Number: 26218
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20211112/e30adfbb/attachment.htm>


More information about the gerrit-log mailing list