Skip to content

Commit cb9aac7

Browse files
committed
project/canfestival: Add the binding for the CANFestival slave startup example
Signed-off-by: Efim <es.perevalov@mail.ru>
1 parent 4635492 commit cb9aac7

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

project/canfestival/lib/Makefile

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ $(CONFIGURE) :
1919
-DCF_TARGET=embox \
2020
-DCF_CAN_DRIVER=embox \
2121
)
22+
23+
python3 $(CF_SOURCE_DIR)/objdictgen/objdictgen.py $(CF_SOURCE_DIR)/examples/TestMasterSlave/TestSlave.dcf $(CF_SOURCE_DIR)/examples/TestMasterSlave/TestSlave.c
24+
python3 $(CF_SOURCE_DIR)/objdictgen/objdictgen.py $(CF_SOURCE_DIR)/examples/TestMasterSlave/TestMaster.dcf $(CF_SOURCE_DIR)/examples/TestMasterSlave/TestMaster.c
2225
touch $@
2326

2427
$(BUILD) :
@@ -35,4 +38,14 @@ $(INSTALL) :
3538
$(CP) -r $(CF_BUILD_DIR)/include/* $(INSTALL_INC_DIR)/
3639
$(CP) -r $(CF_SOURCE_DIR)/include/* $(INSTALL_INC_DIR)/
3740
$(CP) -r $(CF_SOURCE_DIR)/include/embox/* $(INSTALL_INC_DIR)/
41+
$(CP) $(CF_SOURCE_DIR)/examples/TestMasterSlave/Slave.h $(INSTALL_INC_DIR)/
42+
$(CP) $(CF_SOURCE_DIR)/examples/TestMasterSlave/TestSlave.h $(INSTALL_INC_DIR)/
43+
$(CP) $(CF_SOURCE_DIR)/examples/TestMasterSlave/Master.h $(INSTALL_INC_DIR)/
44+
$(CP) $(CF_SOURCE_DIR)/examples/TestMasterSlave/TestMaster.h $(INSTALL_INC_DIR)/
45+
$(CP) $(CF_SOURCE_DIR)/examples/TestMasterSlave/TestMasterSlave.h $(INSTALL_INC_DIR)/
46+
$(MKDIR) $(PKG_INSTALL_DIR)/examples
47+
$(CP) $(CF_SOURCE_DIR)/examples/TestMasterSlave/Slave.c $(PKG_INSTALL_DIR)/examples/
48+
$(CP) $(CF_SOURCE_DIR)/examples/TestMasterSlave/TestSlave.c $(PKG_INSTALL_DIR)/examples/
49+
$(CP) $(CF_SOURCE_DIR)/examples/TestMasterSlave/Master.c $(PKG_INSTALL_DIR)/examples/
50+
$(CP) $(CF_SOURCE_DIR)/examples/TestMasterSlave/TestMaster.c $(PKG_INSTALL_DIR)/examples/
3851
touch $@

0 commit comments

Comments
 (0)