Commit 59334a39 authored by julien.delange's avatar julien.delange

* integrate drivers, case study rasta compiles



git-svn-id: https://tecsw.estec.esa.int/svn/taste/trunk/po-hi-c@537 129961e7-ef38-4bb5-a8f7-c9a525a55882
parent 703bcc42
AUTOMAKE_OPTIONS = no-dependencies
EXTRA_DIST = $(srcdir)/po_hi_driver_linux_serial.h
EXTRA_DIST = $(srcdir)/po_hi_driver_linux_serial.h \
$(srcdir)/po_hi_driver_rasta_serial.h
CLEANFILES = *~
......
/*
* This is a part of PolyORB-HI-C distribution, a minimal
* middleware written for generated code from AADL models.
* You should use it with the Ocarina toolsuite.
*
* Copyright (C) 2010, European Space Agency
*/
#ifndef __PO_HI_DRIVER_RASTA_SERIAL_H__
#define __PO_HI_DRIVER_RASTA_SERIAL_H__
void __po_hi_c_driver_serial_rasta_poller (void);
#endif
......@@ -64,6 +64,8 @@ ifeq ($(NEED_TRANSPORT), yes)
po_hi_utils.o \
po_hi_types.o \
po_hi_gqueue.o \
drivers/po_hi_driver_linux_serial.o \
drivers/po_hi_driver_rasta_serial.o \
$(ACTUAL_TRANSPORT) \
po_hi_transport.o $(TARGET_TRANSPORT_SOURCES)
......@@ -137,8 +139,13 @@ ifdef SCADE_DIR
endif
for f in $(PO_HI_OBJS); do \
c_file="`basename $$f .o`.c"; \
$(CC) $(INCLUDE) $(CFLAGS) -c -o $$f '$(RUNTIME_PATH)/src/'$$c_file \
|| exit 1 ; \
c_file_dirname="`dirname $$f`"; \
if [ -n "$$c_file_dirname" ]; then \
if [ ! -d $$c_file_dirname ]; then mkdir -p $$c_file_dirname ; fi ; \
$(CC) $(INCLUDE) $(CFLAGS) -c -o $$f '$(RUNTIME_PATH)/src/'$$c_file_dirname'/'$$c_file || exit 1 ; \
else \
$(CC) $(INCLUDE) $(CFLAGS) -c -o $$f '$(RUNTIME_PATH)/src/'$$c_file || exit 1 ; \
fi ; \
done
compile-node: $(BINARY)
......
AUTOMAKE_OPTIONS = no-dependencies
C_FILES = $(srcdir)/po_hi_driver_linux_serial.c
C_FILES = $(srcdir)/po_hi_driver_linux_serial.c \
$(srcdir)/po_hi_driver_rasta_serial.c
csrc = ${shell $(CYGPATH_U) '$(OCARINA_RUNTIME)/polyorb-hi-c/src/drivers'}
......
/*
* This is a part of PolyORB-HI-C distribution, a minimal
* middleware written for generated code from AADL models.
* You should use it with the Ocarina toolsuite.
*
* Copyright (C) 2010, European Space Agency
*/
void __po_hi_c_driver_serial_rasta_poller (void)
{
}
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