]> rtime.felk.cvut.cz Git - frescor/fosa.git/commitdiff
Added a Makefile file to compile the RTLinux fosa layer
authorbalbastrep <balbastrep@35b4ef3e-fd22-0410-ab77-dab3279adceb>
Mon, 7 May 2007 15:41:47 +0000 (15:41 +0000)
committerbalbastrep <balbastrep@35b4ef3e-fd22-0410-ab77-dab3279adceb>
Mon, 7 May 2007 15:41:47 +0000 (15:41 +0000)
git-svn-id: http://www.frescor.org/private/svn/frescor/fosa/trunk@403 35b4ef3e-fd22-0410-ab77-dab3279adceb

src_rtlinux/Makefile [new file with mode: 0644]
src_rtlinux/fosa_clocks_and_timers.c
src_rtlinux/fosa_mutexes_and_condvars.c

diff --git a/src_rtlinux/Makefile b/src_rtlinux/Makefile
new file mode 100644 (file)
index 0000000..36a45e3
--- /dev/null
@@ -0,0 +1,16 @@
+RTLINUX_PATH=../../../rtlinux-3.2-rc1/trunk
+
+OBJS=fosa_mutexes_and_condvars.o fosa_clocks_and_timers.o  fosa_threads_and_signals.o
+#fosa_app_def_sched.o fosa_mutexes_and_condvars.o fosa_clocks_and_timers.o  fosa_threads_and_signals.o
+
+FOSA_INC=../include
+FRSH_INC=../../../frsh/trunk/include
+
+all: libfosa.a
+
+include $(RTLINUX_PATH)/rtl.mk
+
+CFLAGS+=-I$(FOSA_INC) -I$(FRSH_INC) -DRT_LINUX
+
+libfosa.a: $(OBJS)
+       $(AR) -r libfosa.a $(OBJS) 
index 9028277479dcdf058cb73f30c659227487052d8d..6e0dfe007b780b835a0e0003d43da69cebd28d97 100644 (file)
@@ -58,6 +58,7 @@
 // FOSA(Frescor Operating System Adaptation layer)
 //================================================
 
+#include <fosa.h>
 
 /*************************
  * Timing: Clocks
index e5fb7487e7b897d2ed268cf91a6f71c50bc762cf..9ba813b7967c6f2ee6883082d361d0f920e59015 100644 (file)
 // FOSA(Frescor Operating System Adaptation layer)
 //================================================
 
+#include <fosa.h>
+
+// header files from rtlinux
+#include <rtl_mutex.h>
 
 
 /*******************************************************