Commit 5186faa2 authored by Maxime Perrotin's avatar Maxime Perrotin

Add rules with dependencies for ocarina

parent 3f972b0e
......@@ -51,7 +51,6 @@ all:
DriversConfig/drivers_config.h
@@END_IF@@
@@END_INLINE@@
ocarina -x main.aadl
@@TABLE@@
make -j -C @_Node_Names_@ -f Makefile.@_Node_Names_@
@@END_TABLE@@
......@@ -65,7 +64,6 @@ rtems_ada:
DriversConfig/drivers_config.h
@@END_IF@@
@@END_INLINE@@
ocarina -x main.aadl
@@TABLE@@
make -j -C @_Node_Names_@ -f Makefile.@_Node_Names_@ debug_rtems_leon3_with_ada
@@END_TABLE@@
......@@ -76,7 +74,6 @@ air:
@_LOWER:Node_Names_@_air
@@END_TABLE@@
@@END_INLINE@@
ocarina -x main.aadl
@@TABLE@@
# generate the xml file for AIR and call AIR's configure script
ocarina -aadlv2 -v -disable-annexes=emv2 -g air_configuration \
......
......@@ -17,7 +17,7 @@ DATAVIEW_AADLV1 := ${DATAVIEW_PATH}/dataview_aadlv1.aadl
# Project cache folder is used to speed up all ASN.1-related processing
export PROJECT_CACHE=${HOME}/.taste_AST_cache
all: build-native
all: build-default
@@-- global check to see if dataview in Ada is needed
@@TABLE@@
......@@ -43,15 +43,19 @@ dataview: ${DATAVIEW_PATH}/built
@@END_INLINE@@
touch $@
build-native: aadl2glueC build/system_config.h ${DATAVIEW_PATH}/built
build-default: aadl2glueC build/system_config.h ${DATAVIEW_PATH}/built build/deploymentview_final/Makefile
$(MAKE) -j -C build -f Makefile.taste
build-rtems-ada: aadl2glueC build/system_config.h ${DATAVIEW_PATH}/built
build-rtems-ada: aadl2glueC build/system_config.h ${DATAVIEW_PATH}/built build/deploymentview_final/Makefile
$(MAKE) -j -C build -f Makefile.taste rtems_ada
air: aadl2glueC build/system_config.h ${DATAVIEW_PATH}/built
air: aadl2glueC build/system_config.h ${DATAVIEW_PATH}/built build/deploymentview_final/Makefile
$(MAKE) -j -C build -f Makefile.taste air
# Rule to invoke Ocarina (generation of POHI middleware code)
build/deploymentview_final/Makefile: build/main.aadl
cd build && ocarina -x main.aadl
@@INLINE(${DATAVIEW_UNIQ}: )( )()@@
@@TABLE@@
@_ASN1_Files_@
......@@ -181,4 +185,4 @@ clean:
rm -rf binaries/*
$(MAKE) -C build -f Makefile.taste clean
.PHONY: clean compile-all-linux function-instances-linux function-types-linux build-native dataview build-rtems-ada
.PHONY: clean compile-all-linux function-instances-linux function-types-linux build-default dataview build-rtems-ada
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