Commit 89d0ec7d authored by Maxime Perrotin's avatar Maxime Perrotin
Browse files

Add generation of xml and call to configure to makefile

parent 07333c45
......@@ -41,6 +41,16 @@ air:
@@END_TABLE@@
@@END_INLINE@@
@@TABLE@@
# generate the xml file for AIR and call AIR's configure script
ocarina -aadlv2 -v -disable-annexes=emv2 -g air_configuration \
-r deploymentview.final system.aadl deployment.aadl \
Cheddar_Properties.aadl arinc653.aadl data_model.aadl \
TASTE_IV_Properties.aadl TASTE_DV_Properties.aadl \
taste_properties.aadl base_types.aadl \
../../DataView.aadl ../../InterfaceView.aadl ../../DeploymentView.aadl \
../../../common/ocarina_components.aadl && \
cd deploymentview_final && configure
@echo "XML generated, AIR configuration done, building..."
make -C @_Node_Names_@ -f Makefile.@_Node_Names_@ air
@@END_TABLE@@
......
......@@ -83,8 +83,6 @@ configuration project AIR is
"-lm",
-- "-L/opt/rtems-ada/lib/gcc/sparc-rtems5/7.3.0/leon3/adalib",
"-L/home/taste/tool-inst/include/ocarina/runtime/polyorb-hi-c/libs/leon-rtems4.12/",
"-lgnat",
"-lgnarl",
"-lrtemscpu",
"-lrtemsbsp",
"/home/taste/air/air/install/libs/libprintf/libprintf.a",
......@@ -98,7 +96,6 @@ configuration project AIR is
"-specs=bsp_specs",
"-qrtems",
"-lm",
"-lgnat",
"-mcpu=cypress");
end Linker;
end AIR;
......@@ -29,7 +29,7 @@ project @_CAPITALIZE:Name_@_AIR is
Build : Build_Type := external ("CFG", "Debug");
for Create_Missing_Dirs use "True";
for Object_Dir use "obj_rtems_with_ada";
for Object_Dir use "@_LOWER:Name_@_obj";
for Exec_Dir use "../../binaries";
for Languages use ("Ada", "C");
......
......@@ -3,7 +3,7 @@ KAZOO=../../kazoo
all: test-parse
cp input_data/hello.c output/hello/C/src && \
cp input_data/read.c output/read/C/src && \
cd output/build && ocarina -x main.aadl
cd output && make air
test-parse: clean
$(KAZOO) --gw -p \
......
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