Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
kazoo
Commits
84e0ce55
Commit
84e0ce55
authored
Aug 16, 2020
by
Maxime Perrotin
Browse files
Use $(MAKE) instead of "make" everywhere
parent
b2220c57
Changes
5
Hide whitespace changes
Inline
Side-by-side
templates/concurrency_view/aadl_4_makefile/block.tmplt
View file @
84e0ce55
...
...
@@ -21,7 +21,7 @@
../@_LOWER:Name_@/SDL/code/@_LOWER:Name_@.adb: @_Shared_Lib_Dir_@/@_LOWER:Instance_Of_@/@_LOWER:Instance_Of_@/SDL/src/@_LOWER:Instance_Of_@.pr @_Shared_Lib_Dir_@/@_LOWER:Instance_Of_@/@_LOWER:Instance_Of_@/SDL/src/system_structure.pr
@@END_IF@@
# Call opengeode to generate the functional code
make
-j -C ../@_LOWER:Name_@/SDL generate-code
$(MAKE)
-j -C ../@_LOWER:Name_@/SDL generate-code
@@ELSIF@@ @_Zip_File_@ /= ""
@_LOWER:Name_@:
@# -u does not overwrite existing files (e.g. the .h generated by kazoo)
...
...
templates/concurrency_view/aadl_4_makefile/node.tmplt
View file @
84e0ce55
...
...
@@ -18,11 +18,11 @@
@@ELSE@@
@_LOWER:Node_Name_@_@_CPU_Name_@: @_LOWER:REPLACE_ALL(,/):Partition_Names_@ DriversConfig/drivers_config.h
@@END_IF@@
make
-j -C @_Node_Name_@ -f Makefile.@_Node_Name_@
$(MAKE)
-j -C @_Node_Name_@ -f Makefile.@_Node_Name_@
@_LOWER:Node_Name_@_simu: @_LOWER:REPLACE_ALL(,/):Partition_Names_@ DriversConfig/drivers_config.h
make
-j -C @_Node_Name_@ -f Makefile.@_Node_Name_@ simulate
$(MAKE)
-j -C @_Node_Name_@ -f Makefile.@_Node_Name_@ simulate
# Force build of node @_Node_Name_@ for RTEMS
# (rule generated by templates/concurrency_view/aadl_4_makefile/node.tmplt)
...
...
templates/concurrency_view/aadl_4_makefile/system.tmplt
View file @
84e0ce55
...
...
@@ -64,7 +64,7 @@ rtems_ada:
@@END_TABLE@@
@@END_INLINE@@
@@TABLE@@
make
-j -C @_Node_Names_@ -f Makefile.@_Node_Names_@ debug_rtems_leon3_with_ada
$(MAKE)
-j -C @_Node_Names_@ -f Makefile.@_Node_Names_@ debug_rtems_leon3_with_ada
@@END_TABLE@@
@@INLINE()( )()@@
...
...
@@ -84,9 +84,9 @@ air:
../../../common/ocarina_components.aadl && \
cd deploymentview_final && rm -f Makefile && (configure --keep-files-silent)
@echo "XML generated, AIR configuration done, building..."
make
-j -C @_Node_Names_@ -f Makefile.@_Node_Names_@ air
$(MAKE)
-j -C @_Node_Names_@ -f Makefile.@_Node_Names_@ air
@echo Putting partitions alltogether
make
-j -f Makefile.air && mkdir -p ../binaries && cp deploymentview_final/executable/* ../binaries
$(MAKE)
-j -f Makefile.air && mkdir -p ../binaries && cp deploymentview_final/executable/* ../binaries
@@END_TABLE@@
@@-- If there are busses, there are drivers, and therefore asn1 configurations
...
...
@@ -106,7 +106,7 @@ DriversConfig/drivers_config.h: # Not a distributed system => nothing to do
clean:
@@TABLE@@
make
-C @_Node_Names_@ -f Makefile.@_Node_Names_@ clean
$(MAKE)
-C @_Node_Names_@ -f Makefile.@_Node_Names_@ clean
rm -rf *_adainit deploymentview_final
@@END_TABLE@@
...
...
templates/concurrency_view/air_makefile/system.tmplt
View file @
84e0ce55
...
...
@@ -32,17 +32,17 @@ include $(AIR_ROOT)/Makefile.inc
# All
.PHONY : all
all:
make
-C deploymentview_final/common
make
-C deploymentview_final/config all
$(MAKE)
-C deploymentview_final/common
$(MAKE)
-C deploymentview_final/config all
# Clean
.PHONY : clean
clean:
make
-C deploymentview_final/common clean
make
-C deploymentview_final/config clean
$(MAKE)
-C deploymentview_final/common clean
$(MAKE)
-C deploymentview_final/config clean
# Distclean
.PHONY : distclean
distclean: clean
make
-C deploymentview_final/config distclean
$(MAKE)
-C deploymentview_final/config distclean
$(AIR_TOOLS)/configurator clean
templates/skeletons/makefile.tmplt
View file @
84e0ce55
...
...
@@ -29,6 +29,8 @@ export PROJECT_CACHE=${HOME}/.taste_AST_cache
@@IF@@ @_Target_@ /= SIMU
all: build-default
@@ELSE@@
@@-- for pure simulation target, force the generation of the Ada dataview
@@SET@@ Need_Ada = TRUE
# Build a simulator of the system
all: aadl2glueC build/system_config.h ${DATAVIEW_PATH}/built build/deploymentview_final/Makefile
cd dataview && taste-asn1-iterators --raw dataview-uniq.asn
...
...
@@ -45,12 +47,6 @@ all: aadl2glueC build/system_config.h ${DATAVIEW_PATH}/built build/deploymentvie
@@SET@@ Has_GUI=TRUE
@@END_IF@@
@@END_TABLE@@
@@--
@@-- for pure simulation target, force the generation of the Ada dataview
@@IF@@ @_Target_@ = SIMU
@@SET@@ Need_Ada = TRUE
@@END_IF@@
@@--
# Generate the language-specific data view needed before editing user code
@@IF@@ not @_Need_Ada_@ and not @_Other_DataViews_@
dataview: dataview/C/built
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment