Commit 6c8b70aa authored by Maxime Perrotin's avatar Maxime Perrotin
Browse files

Complete the per-partition ASN.1 file compilation

parent 259e5b7a
......@@ -14,7 +14,7 @@
@@-- to the same file generated at different places The python code checks
@@-- that when this happens only one _datamodel.asn file is kept to avoid
@@-- an error that would otherwise be raised by asn2dataModel
@@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; find $$args && asn2dataModel -toAda -allboards -o ..\/dataview\/Ada $$args || echo 'Ignore this error if you are using the OpenGEODE C Backend')@@
@@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; mono $(shell which asn1.exe) -Ada -equal --target allboards -typePrefix asn1Scc -o ..\/dataview\/Ada $$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)
......@@ -23,8 +23,11 @@
@@ELSE@@
${wildcard ../@_LOWER:Block_Names_@/SDL/code/@_LOWER:Block_Instance_Of_@_datamodel.asn}
@@END_IF@@
@@-- If the function has context parameters, add the file
${wildcard ../@_LOWER:Block_Names_@/SDL/Context-@_LOWER:REPLACE_ALL(_/-):Block_Names_@.asn}
@@END_IF@@
@@END_TABLE@@
../dataview/dataview-uniq.asn
@@END_INLINE@@
# Build of partition @_Name_@ for RTEMS (generate adainit)
......
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