Commit b89ceb9d authored by Federico Vaga's avatar Federico Vaga

rt: move generic real-time code to root directory

Signed-off-by: Federico Vaga's avatarFederico Vaga <federico.vaga@cern.ch>
parent 61bc0e52
......@@ -7,4 +7,4 @@ EXTRA_CFLAGS += -I../common
EXTRA_CFLAGS += -DFPGA_APPLICATION_ID=0xd330d330
EXTRA_CFLAGS += -DRT_APPLICATION_ID=0x1236
include $(TRTL)/applications/common/rt/Makefile
include $(TRTL)/rt/Makefile
......@@ -8,4 +8,4 @@ EXTRA_CFLAGS += -DRTPERFORMANCE
EXTRA_CFLAGS += -DLIBRT_DEBUG -DLIBRT_ERROR
RT_USE_LIBRT := 1
include $(TRTL)/applications/common/rt/Makefile
include $(TRTL)/rt/Makefile
......@@ -11,4 +11,4 @@ EXTRA_CFLAGS += -DLIBRT_ERROR
#EXTRA_CFLAGS += -DLIBRT_DEBUG
#EXTRA_CFLAGS += -DRTDEBUG
RT_USE_LIBRT := 1
include $(TRTL)/applications/common/rt/Makefile
include $(TRTL)/rt/Makefile
......@@ -10,4 +10,4 @@ EXTRA_CFLAGS += -I../common
EXTRA_CFLAGS += -DLIBRT_ERROR
#EXTRA_CFLAGS += -DLIBRT_DEBUG
RT_USE_LIBRT := 1
include $(TRTL)/applications/common/rt/Makefile
include $(TRTL)/rt/Makefile
......@@ -17,22 +17,21 @@ RT_GIT_VERSION = 0x$(shell cd ../../..; git rev-parse --short=8 HEAD)
CFLAGS += -Wall -DWRNODE_RT -g -Os -mmultiply-enabled -mbarrel-shift-enabled
CFLAGS += -I.
CFLAGS += -I$(TRTL)/applications/common/rt
CFLAGS += -I$(TRTL)/applications/common/include
CFLAGS += -I$(TRTL)/rt
CFLAGS += -I$(TRTL)/include
CFLAGS += -DGIT_VERSION=$(RT_GIT_VERSION)
CFLAGS += $(EXTRA_CFLAGS)
OBJS += $(TRTL)/applications/common/rt/mockturtle-crt0.o
OBJS += $(TRTL)/applications/common/rt/vsprintf-xint.o
OBJS += $(TRTL)/applications/common/rt/printf.o
OBJS += $(TRTL)/applications/common/rt/mockturtle-rt-common.o
OBJS += $(TRTL)/rt/mockturtle-crt0.o
OBJS += $(TRTL)/rt/vsprintf-xint.o
OBJS += $(TRTL)/rt/printf.o
OBJS += $(TRTL)/rt/mockturtle-rt-common.o
ifdef RT_USE_LIBRT
OBJS += $(TRTL)/applications/common/rt/libmockturtle-rt.o
OBJS += $(TRTL)/rt/libmockturtle-rt.o
endif
LDSCRIPT = $(TRTL)/applications/common/rt/mockturtle.ld
LDSCRIPT = $(TRTL)/rt/mockturtle.ld
all: clean $(OUTPUT)
......
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