Commit e68b240d authored by Maxime Perrotin's avatar Maxime Perrotin

Start adding support for Air builds

parent 117388c3
......@@ -7,7 +7,7 @@ exec = kazoo
all: build
build:
if [ -d "templates-parser" ]; then cd templates-parser && git pull; else git clone https://github.com/AdaCore/templates-parser; fi
#if [ -d "templates-parser" ]; then cd templates-parser && git pull; else git clone https://github.com/AdaCore/templates-parser; fi
-- make -C templates-parser -j
ifeq ($(UNAME), Linux)
@echo "package TASTE.Parser_Version is" > src/taste-parser_version.ads.new
......
......@@ -19,5 +19,11 @@
@@END_TABLE@@
@@END_INLINE@@
@@INLINE@@
@_LOWER:Node_Name_@_air :
@@TABLE@@
@_LOWER:Partition_Names_@_rtems_ada
@@END_TABLE@@
@@END_INLINE@@
@_Partitions_@
......@@ -20,7 +20,6 @@ all:
@_LOWER:Node_Names_@_native
@@END_TABLE@@
@@END_INLINE@@
@@TABLE@@
make -C @_Node_Names_@ -f Makefile.@_Node_Names_@
@@END_TABLE@@
......@@ -31,9 +30,18 @@ rtems_ada:
@_LOWER:Node_Names_@_rtems_ada
@@END_TABLE@@
@@END_INLINE@@
@@TABLE@@
make -C @_Node_Names_@ -f Makefile.@_Node_Names_@ debug_rtems_leon3_with_ada
@@END_TABLE@@
@@INLINE()( )()@@
air:
@@TABLE@@
@_LOWER:Node_Names_@_air
@@END_TABLE@@
@@END_INLINE@@
@@TABLE@@
make -C @_Node_Names_@ -f Makefile.@_Node_Names_@ air
@@END_TABLE@@
@_Nodes_@
......@@ -18,6 +18,11 @@ debug_rtems_leon3_with_ada:
gprbuild -v --config=rtems_ada.cgpr -P @_LOWER:Partition_Names_@_rtems_ada.gpr -XCFG="Debug" -cargs:C -DSTATIC=""
@@END_TABLE@@
air:
@@TABLE@@
gprbuild -v --config=air.cgpr -P @_LOWER:Partition_Names_@_air.gpr -XCFG="Debug" -cargs:C -DSTATIC=""
@@END_TABLE@@
release_native:
@@TABLE@@
gprbuild -p -P @_LOWER:Partition_Names_@.gpr -XCFG="Release" -cargs:C -DSTATIC=""
......
......@@ -20,6 +20,9 @@ build-native: dataview
build-rtems-ada: dataview
cd build && ocarina -x main.aadl && make -f Makefile.taste rtems_ada
air: dataview
cd build && ocarina -x main.aadl && make -f Makefile.taste air
@@INLINE(dataview/dataview-uniq.asn:)( )(\n)@@
@@TABLE@@
@_ASN1_Files_@
......
Markdown is supported
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