<p>pespin <strong>submitted</strong> this change.</p><p><a href="https://gerrit.osmocom.org/c/osmo-iuh/+/25958">View Change</a></p><div style="white-space:pre-wrap">Approvals:
  Jenkins Builder: Verified
  osmith: Looks good to me, but someone else must approve
  fixeria: Looks good to me, but someone else must approve
  pespin: Looks good to me, approved

</div><pre style="font-family: monospace,monospace; white-space: pre-wrap;">src/*/Makefile.am: Copy back to srcdir the generated .c files from ASN<br><br>Change-Id: I203a25a8059218bb9fd6d10cbc028a296d347382<br>---<br>M src/hnbap/Makefile.am<br>M src/ranap/Makefile.am<br>M src/rua/Makefile.am<br>M src/sabp/Makefile.am<br>4 files changed, 16 insertions(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/hnbap/Makefile.am b/src/hnbap/Makefile.am</span><br><span>index c4a8c29..7835bcd 100644</span><br><span>--- a/src/hnbap/Makefile.am</span><br><span>+++ b/src/hnbap/Makefile.am</span><br><span>@@ -248,3 +248,7 @@</span><br><span>       -rm ANY.* BOOLEAN.* INTEGER.* NativeEnumerated.* NativeInteger.* OBJECT_IDENTIFIER.* asn_* OCTET_STRING.* converter-sample.c per_* xer_* constr* der_* ber_* BIT_STRING.*</span><br><span> #  change include style to `#include <dir/foo.h>'</span><br><span>     $(top_srcdir)/move-asn1-header-files.sh osmocom/hnbap $(ASN_MODULE_INC)</span><br><span style="color: hsl(120, 100%, 40%);">+#      Finally copy *.c from buildir to srcdir:</span><br><span style="color: hsl(120, 100%, 40%);">+      if test "$(realpath $(CURDIR))" != "$(realpath $(top_srcdir)/src/hnbap)"; then \</span><br><span style="color: hsl(120, 100%, 40%);">+          cp *.c $(top_srcdir)/src/hnbap/; \</span><br><span style="color: hsl(120, 100%, 40%);">+    fi</span><br><span>diff --git a/src/ranap/Makefile.am b/src/ranap/Makefile.am</span><br><span>index 0bb36a0..4ba3a79 100644</span><br><span>--- a/src/ranap/Makefile.am</span><br><span>+++ b/src/ranap/Makefile.am</span><br><span>@@ -1188,3 +1188,7 @@</span><br><span>  sed -i 's/Member/MemberN/' RANAP_RABDataVolumeReport.[ch]</span><br><span> #  change include style to `#include <dir/foo.h>'</span><br><span>     $(top_srcdir)/move-asn1-header-files.sh osmocom/ranap $(ASN_MODULE_INC)</span><br><span style="color: hsl(120, 100%, 40%);">+#      Finally copy *.c from buildir to srcdir:</span><br><span style="color: hsl(120, 100%, 40%);">+      if test "$(realpath $(CURDIR))" != "$(realpath $(top_srcdir)/src/ranap)"; then \</span><br><span style="color: hsl(120, 100%, 40%);">+          cp *.c $(top_srcdir)/src/ranap/; \</span><br><span style="color: hsl(120, 100%, 40%);">+    fi</span><br><span>diff --git a/src/rua/Makefile.am b/src/rua/Makefile.am</span><br><span>index 7e1d18e..c848639 100644</span><br><span>--- a/src/rua/Makefile.am</span><br><span>+++ b/src/rua/Makefile.am</span><br><span>@@ -86,3 +86,7 @@</span><br><span>      @rm ANY.* BOOLEAN.* INTEGER.* NativeEnumerated.* NativeInteger.* OBJECT_IDENTIFIER.* asn_* OCTET_STRING.* converter-sample.c per_* xer_* constr* der_* ber_* BIT_STRING.*</span><br><span> #  change include style to `#include <dir/foo.h>'</span><br><span>     $(top_srcdir)/move-asn1-header-files.sh osmocom/rua $(ASN_MODULE_INC)</span><br><span style="color: hsl(120, 100%, 40%);">+#        Finally copy *.c from buildir to srcdir:</span><br><span style="color: hsl(120, 100%, 40%);">+      if test "$(realpath $(CURDIR))" != "$(realpath $(top_srcdir)/src/rua)"; then \</span><br><span style="color: hsl(120, 100%, 40%);">+            cp *.c $(top_srcdir)/src/rua/; \</span><br><span style="color: hsl(120, 100%, 40%);">+      fi</span><br><span>diff --git a/src/sabp/Makefile.am b/src/sabp/Makefile.am</span><br><span>index a30674c..5e1b557 100644</span><br><span>--- a/src/sabp/Makefile.am</span><br><span>+++ b/src/sabp/Makefile.am</span><br><span>@@ -145,4 +145,7 @@</span><br><span>        sed -i '/#include "SABP_Serial-Number.h"/a #include <constr_CHOICE.h>' SABP_Old-Serial-Number.h SABP_New-Serial-Number.h</span><br><span> #   change include style to `#include <dir/foo.h>'</span><br><span>     $(top_srcdir)/move-asn1-header-files.sh osmocom/sabp $(ASN_MODULE_INC)</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(120, 100%, 40%);">+#       Finally copy *.c from buildir to srcdir:</span><br><span style="color: hsl(120, 100%, 40%);">+      if test "$(realpath $(CURDIR))" != "$(realpath $(top_srcdir)/src/sabp)"; then \</span><br><span style="color: hsl(120, 100%, 40%);">+           cp *.c $(top_srcdir)/src/sabp/; \</span><br><span style="color: hsl(120, 100%, 40%);">+     fi</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-iuh/+/25958">change 25958</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/c/osmo-iuh/+/25958"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-iuh </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I203a25a8059218bb9fd6d10cbc028a296d347382 </div>
<div style="display:none"> Gerrit-Change-Number: 25958 </div>
<div style="display:none"> Gerrit-PatchSet: 5 </div>
<div style="display:none"> Gerrit-Owner: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-Reviewer: fixeria <vyanitskiy@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: laforge <laforge@osmocom.org> </div>
<div style="display:none"> Gerrit-Reviewer: osmith <osmith@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: merged </div>