]> rtime.felk.cvut.cz Git - frescor/fosa.git/blobdiff - src_rtlinux/Makefile
Added a Makefile file to compile the RTLinux fosa layer
[frescor/fosa.git] / src_rtlinux / Makefile
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)