diff options
author | Harald Welte <laforge@gnumonks.org> | 2017-07-14 18:25:59 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2017-07-14 18:25:59 +0200 |
commit | 56db5fd00e991d44de63c61f0b916f4f85962ce8 (patch) | |
tree | 641c96ee5150d32e087a1c2514e896bd7f1e3f4a /sysinfo/regen_makefile.sh | |
parent | 3eff2c5be53c6044375927338a5eab6fbe380d36 (diff) |
initial code about System Information decoding
the idea is to evolve this into something that can match on the GSMTAP
that's generated by OsmoBTS in order to validate the SI generation /
broadcasting of OsmoBTS+OsmoBSC
Diffstat (limited to 'sysinfo/regen_makefile.sh')
-rwxr-xr-x | sysinfo/regen_makefile.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/sysinfo/regen_makefile.sh b/sysinfo/regen_makefile.sh new file mode 100755 index 00000000..191da90b --- /dev/null +++ b/sysinfo/regen_makefile.sh @@ -0,0 +1,9 @@ +#!/bin/sh + +FILES="*.ttcn" + +ttcn3_makefilegen -f Test.ttcn $FILES +sed -i -e 's/# TTCN3_DIR = /TTCN3_DIR = \/usr/' Makefile +sed -i -e 's/LDFLAGS = /LDFLAGS = -L \/usr\/lib\/titan `pkg-config --libs libnetfilter_conntrack`/' Makefile +sed -i -e 's/TTCN3_LIB = ttcn3-parallel/TTCN3_LIB = ttcn3/' Makefile +sed -i -e 's/CPPFLAGS = -D$(PLATFORM) -I$(TTCN3_DIR)\/include/CPPFLAGS = -D$(PLATFORM) -I$(TTCN3_DIR)\/include -I\/usr\/include\/titan/' Makefile |