tests/Makefile
changeset 3960 9271afc4f34a
parent 3955 792ae5ff01ca
--- a/tests/Makefile	Wed Jun 05 15:05:54 2024 +0200
+++ b/tests/Makefile	Wed Jun 05 15:18:15 2024 +0200
@@ -71,7 +71,7 @@
 # SOURCE and BUILD
 #
 
-BUILT_PROJECTS=beremiz matiec open62541 Modbus
+BUILT_PROJECTS=beremiz matiec open62541 Modbus erpc
 
 tar_opts=--absolute-names --exclude=.hg --exclude=.git --exclude=.*.pyc --exclude=.*.swp
 
@@ -109,8 +109,11 @@
 	cd $(build_dir)/Modbus && \
 	make
 
-
-built_apps: $(build_dir)/matiec/iec2c $(build_dir)/beremiz/$(beremiz_checksum).sha1 $(build_dir)/open62541/build/bin/libopen62541.a $(build_dir)/Modbus/libmb.a
+$(build_dir)/beremiz/C_runtime/beremiz_runtime: | $(build_dir)/erpc/$(erpc_checksum).sha1
+	cd $(build_dir)/beremiz/C_runtime && \
+	make
+
+built_apps: $(build_dir)/matiec/iec2c $(build_dir)/beremiz/$(beremiz_checksum).sha1 $(build_dir)/open62541/build/bin/libopen62541.a $(build_dir)/Modbus/libmb.a $(build_dir)/beremiz/C_runtime/beremiz_runtime
 	touch $@
 
 define log_command