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/.
Max gerrit-no-reply at lists.osmocom.org
Review at https://gerrit.osmocom.org/5316
GPRS/Gb: use generic linker
Make symlinks using generic.sh functions.
Change-Id: I713b8dffe298e3e878a4760a82f1ad0d42e0aacf
---
A gprs_gb/.gitignore
M gprs_gb/gen_links.sh
2 files changed, 107 insertions(+), 31 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/16/5316/1
diff --git a/gprs_gb/.gitignore b/gprs_gb/.gitignore
new file mode 100644
index 0000000..3c00bbe
--- /dev/null
+++ b/gprs_gb/.gitignore
@@ -0,0 +1,100 @@
+# Add files to be ignored manually in here:
+BSSGP_Emulation.cc
+BSSGP_Emulation.hh
+BSSGP_Helper_Functions.cc
+BSSGP_Helper_Functions.hh
+BSSGP_Types.cc
+BSSGP_Types.hh
+GSM_RR_Types.cc
+GSM_RR_Types.hh
+GSM_Types.cc
+GSM_Types.hh
+General_Types.cc
+General_Types.hh
+IPL4asp_Functions.cc
+IPL4asp_Functions.hh
+IPL4asp_PortType.cc
+IPL4asp_PortType.hh
+IPL4asp_Types.cc
+IPL4asp_Types.hh
+L1CTL_PortType.cc
+L1CTL_PortType.hh
+L1CTL_Types.cc
+L1CTL_Types.hh
+LAPDm_RAW_PT.cc
+LAPDm_RAW_PT.hh
+LAPDm_Types.cc
+LAPDm_Types.hh
+LLC_Types.cc
+LLC_Types.hh
+Makefile
+NS_CodecPort.cc
+NS_CodecPort.hh
+NS_CodecPort_CtrlFunct.cc
+NS_CodecPort_CtrlFunct.hh
+NS_Emulation.cc
+NS_Emulation.hh
+NS_Types.cc
+NS_Types.hh
+Osmocom_Types.cc
+Osmocom_Types.hh
+RLCMAC_CSN1_Types.cc
+RLCMAC_CSN1_Types.hh
+RLCMAC_Types.cc
+RLCMAC_Types.hh
+Socket_API_Definitions.cc
+Socket_API_Definitions.hh
+TCCConversion_Functions.cc
+TCCConversion_Functions.hh
+TCCInterface_Functions.cc
+TCCInterface_Functions.hh
+Test.cc
+Test.hh
+UD_PortType.cc
+UD_PortType.hh
+UD_Types.cc
+UD_Types.hh
+# N. B: the entries below this line updated automatically by gen_links.sh
+TCCInterface_Functions.ttcn
+TCCConversion_Functions.ttcn
+TCCConversion.cc
+TCCInterface.cc
+TCCInterface_ip.h
+IPL4asp_Functions.ttcn
+IPL4asp_PT.cc
+IPL4asp_PT.hh
+IPL4asp_PortType.ttcn
+IPL4asp_Types.ttcn
+IPL4asp_discovery.cc
+IPL4asp_protocol_L234.hh
+Socket_API_Definitions.ttcn
+UD_PT.cc
+UD_PT.hh
+UD_PortType.ttcn
+UD_Types.ttcn
+MobileL3_CC_Types.ttcn
+MobileL3_CommonIE_Types.ttcn
+MobileL3_GMM_SM_Types.ttcn
+MobileL3_MM_Types.ttcn
+MobileL3_RRM_Types.ttcn
+MobileL3_SMS_Types.ttcn
+MobileL3_SS_Types.ttcn
+MobileL3_Types.ttcn
+SS_DataTypes.asn
+SS_EncDec.cc
+SS_Errors.asn
+SS_Operations.asn
+SS_PDU_Defs.asn
+SS_Protocol.asn
+SS_Types.ttcn
+General_Types.ttcn
+GSM_Types.ttcn
+GSM_RR_Types.ttcn
+Osmocom_Types.ttcn
+RLCMAC_Types.ttcn
+RLCMAC_CSN1_Types.ttcn
+RLCMAC_EncDec.cc
+L1CTL_Types.ttcn
+L1CTL_PortType.ttcn
+LAPDm_RAW_PT.ttcn
+LAPDm_Types.ttcn
diff --git a/gprs_gb/gen_links.sh b/gprs_gb/gen_links.sh
index 9f4cea4..e1291ac 100755
--- a/gprs_gb/gen_links.sh
+++ b/gprs_gb/gen_links.sh
@@ -2,35 +2,11 @@
BASEDIR=../deps
-gen_links() {
- DIR=$1
- FILES=$*
- for f in $FILES; do
- echo "Linking $f"
- ln -sf $DIR/$f $f
- done
-}
+. ../generic.sh
-#DIR=$BASEDIR/titan.TestPorts.UNIX_DOMAIN_SOCKETasp/src
-#FILES="UD_PT.cc UD_PT.hh UD_PortType.ttcn UD_Types.ttcn"
-#gen_links $DIR $FILES
-
-DIR=$BASEDIR/titan.Libraries.TCCUsefulFunctions/src
-FILES="TCCInterface_Functions.ttcn TCCConversion_Functions.ttcn TCCConversion.cc TCCConversion.hh TCCInterface.cc TCCInterface_ip.h"
-gen_links $DIR $FILES
-
-DIR=$BASEDIR/titan.TestPorts.Common_Components.Socket-API/src
-FILES="Socket_API_Definitions.ttcn"
-gen_links $DIR $FILES
-
-DIR=$BASEDIR/titan.TestPorts.IPL4asp/src
-FILES="IPL4asp_Functions.ttcn IPL4asp_PT.cc IPL4asp_PT.hh IPL4asp_PortType.ttcn IPL4asp_Types.ttcn IPL4asp_discovery.cc IPL4asp_protocol_L234.hh"
-gen_links $DIR $FILES
-
-DIR=$BASEDIR/titan.TestPorts.UNIX_DOMAIN_SOCKETasp/src
-FILES="UD_PT.cc UD_PT.hh UD_PortType.ttcn UD_Types.ttcn"
-gen_links $DIR $FILES
-
-DIR=../library
-FILES="General_Types.ttcn GSM_Types.ttcn GSM_RR_Types.ttcn Osmocom_Types.ttcn RLCMAC_Types.ttcn RLCMAC_CSN1_Types.ttcn RLCMAC_EncDec.cc L1CTL_Types.ttcn L1CTL_PortType.ttcn LAPDm_RAW_PT.ttcn LAPDm_Types.ttcn"
-gen_links $DIR $FILES
+link_TCCUsefulFunctions $BASEDIR
+link_IPL4asp $BASEDIR
+link_SocketAPI $BASEDIR
+link_UNIX_DOMAIN_SOCKETasp $BASEDIR
+link_MobileL3_v13 $BASEDIR
+link_library
--
To view, visit https://gerrit.osmocom.org/5316
To unsubscribe, visit https://gerrit.osmocom.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I713b8dffe298e3e878a4760a82f1ad0d42e0aacf
Gerrit-PatchSet: 1
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Owner: Max <msuraev at sysmocom.de>