Commit fca42e63 authored by Maxime Perrotin's avatar Maxime Perrotin
Browse files

Fix template for simu target

parent ae5d7f4c
......@@ -57,7 +57,7 @@
@@-- For simulation target, add simulation.asn and uPER encoders
@_LOWER:Name_@_simu: @_REPLACE_ALL(,/ ):LOWER:Block_Names_@
@@IF@@ @_Has_SDL_@
@@INLINE( args=")( )("; \\\n mkdir -p ..\/dataview\/Ada; asn1scc -Ada -uPER -equal --target allboards -typePrefix asn1Scc -o ..\/dataview\/Ada $$args; \\)@@
@@INLINE( args=$$\(python3 -c "import os, sys; print\(' '.join\({os.path.basename\(f\):f for f in sys.argv[1:]}.values\(\)\)\)" )( )(\); \\\n mkdir -p ..\/dataview\/Ada; asn1scc -Ada -uPER -equal --target allboards -typePrefix asn1Scc -o ..\/dataview\/Ada $$args ; taste-asn1-gser -o ..\/dataview\/Ada\/src --raw $$args)@@
@@TABLE@@
@@IF@@ @_Block_Languages_@ = SDL
@@-- Use wildcard because in the case of the SDL to C backend the _datamodel files are not generated (yet)
......@@ -74,7 +74,6 @@
simulation.asn
@@END_INLINE@@
@@END_IF@@
taste-asn1-gser -o ../dataview/Ada/src --raw $$args || exit 1
touch $@
@@IF@@ @_CPU_Platform_@ = PLATFORM_LEON_RTEMS_POSIX or @_CPU_Platform_@ = PLATFORM_AIR or @_CPU_Platform_@ = PLATFORM_RPI
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment