diff options
author | Oliver Smith <osmith@sysmocom.de> | 2021-10-12 13:05:42 +0200 |
---|---|---|
committer | Oliver Smith <osmith@sysmocom.de> | 2021-10-13 11:12:22 +0200 |
commit | f8fe1329e2cb3e39e9d1721ce0a74e3a1843c4e9 (patch) | |
tree | 0078d9b53e43d160acdaf109c206e4aedfeb68bf /simtrace | |
parent | f92ccad16bb0f3d0fe5cdd325d57204ba1dc36d4 (diff) |
regen_makefile.sh: set executable name explicitly
Set the executable name in each regen_makefile.sh explicitly with -e,
instead of having it set indirectly from the first .ttcn file. Make it
consistent by placing the name on top of each of these files.
Fix for warning:
ttcn3_makefilegen: warning: File `BSC_Tests.ttcn' was given more than once for the Makefile.
Related: OS#5252
Change-Id: I5ed03f8f3ed905483620dc7bae33b617bbb8507f
Diffstat (limited to 'simtrace')
-rwxr-xr-x | simtrace/regen_makefile.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/simtrace/regen_makefile.sh b/simtrace/regen_makefile.sh index 509699e9..baecf7de 100755 --- a/simtrace/regen_makefile.sh +++ b/simtrace/regen_makefile.sh @@ -1,5 +1,7 @@ #!/bin/sh +NAME=SIMTRACE_Tests + FILES=" *.ttcn Native_FunctionDefs.cc @@ -9,7 +11,7 @@ FILES=" export CPPFLAGS_TTCN3=" " -../regen-makefile.sh SIMTRACE_Tests.ttcn $FILES +../regen-makefile.sh -e $NAME $FILES #sed -i -e 's/^LINUX_LIBS = -lxml2/LINUX_LIBS = -lxml2 -lusb/' Makefile sed -i -e '/^LINUX_LIBS/ s/$/ `pkg-config --libs libusb-1.0`/' Makefile |