Commit 28c8b81e authored by Maxime Perrotin's avatar Maxime Perrotin
Browse files

Call asn2aadlPlus during the build without -f

And update the concurrency properties
parent e823e55e
......@@ -72,7 +72,7 @@ air:
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 \
../dataview/dataview_aadlv2.aadl ../../InterfaceView.aadl ../../DeploymentView.aadl \
../../../common/ocarina_components.aadl && \
cd deploymentview_final && rm -f Makefile && (configure --keep-files-silent)
@echo "XML generated, AIR configuration done, building..."
......@@ -19,6 +19,7 @@ DATAVIEW_ACN := ${DATAVIEW_PATH}/dataview-uniq.acn
DATAVIEW_AADLV1 := ${DATAVIEW_PATH}/dataview_aadlv1.aadl
DATAVIEW_AADLV2 := ${DATAVIEW_PATH}/dataview_aadlv2.aadl
# Project cache folder is used to speed up all ASN.1-related processing
export PROJECT_CACHE=${HOME}/.taste_AST_cache
......@@ -70,7 +71,8 @@ air: aadl2glueC build/system_config.h ${DATAVIEW_PATH}/built build/deploymentvie
$(MAKE) -j -C build -f Makefile.taste air
# Rule to invoke Ocarina (generation of POHI middleware code)
build/deploymentview_final/Makefile: build/main.aadl
build/deploymentview_final/Makefile: build/main.aadl ${DATAVIEW_AADLV2} ../ConcurrencyView_Properties.aadl build/system.aadl ../ConcurrencyView_Properties.aadl
cd build && ocarina -x main.aadl
# Create dataview-uniq.asn by concatenating all asn1 input files
......@@ -102,6 +104,10 @@ ${DATAVIEW_AADLV1}: ${DATAVIEW_UNIQ}
@@-- Generate DataView.aadl in AADLV1 as this is needed by aadl2glueC
asn2aadlPlus $< $@
@@-- Generate DataView.aadl in AADLV2 without -f flag
asn2aadlPlus -aadlv2 $< $@
@@-- For each function generate the glue code from DMT based on the dataview
@@IF@@ not @_Is_Type_@
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