Commit 15993068 authored by Federico Vaga's avatar Federico Vaga

sw:rt: become sw:fw

Signed-off-by: Federico Vaga's avatarFederico Vaga <federico.vaga@cern.ch>
parent c3685082
......@@ -4,4 +4,4 @@ OUTPUT = fw-ac
TRTL ?= ../../../../
TRTL_SW = $(TRTL)/software
include $(TRTL_SW)/rt/Makefile
include $(TRTL_SW)/firmware/Makefile
......@@ -4,4 +4,4 @@ OUTPUT = fw-dg
TRTL ?= ../../../../
TRTL_SW = $(TRTL)/software
include $(TRTL_SW)/rt/Makefile
include $(TRTL_SW)/firmware/Makefile
......@@ -14,4 +14,4 @@ EXTRA_CFLAGS += -DRT_APPLICATION_ID=$(RT_APPLICATION_ID_CPU1)
vpath %.c ../
include $(TRTL_SW)/rt/Makefile
include $(TRTL_SW)/firmware/Makefile
......@@ -15,4 +15,4 @@ EXTRA_CFLAGS += -DLIBRT_DEBUG_VERBOSE -DLIBRT_DEBUG
vpath %.c ../
include $(TRTL_SW)/rt/Makefile
include $(TRTL_SW)/firmware/Makefile
......@@ -4,4 +4,4 @@ OUTPUT = fw-hello
TRTL ?= ../../../../
TRTL_SW = $(TRTL)/software
include $(TRTL_SW)/rt/Makefile
include $(TRTL_SW)/firmware/Makefile
......@@ -4,4 +4,4 @@ OUTPUT = fw-hellofrm
TRTL ?= ../../../../
TRTL_SW = $(TRTL)/software
include $(TRTL_SW)/rt/Makefile
include $(TRTL_SW)/firmware/Makefile
......@@ -6,4 +6,4 @@ TRTL_SW = $(TRTL)/software
CFLAGS_OPT = -O0
include $(TRTL_SW)/rt/Makefile
include $(TRTL_SW)/firmware/Makefile
......@@ -6,4 +6,4 @@ TRTL_SW = $(TRTL)/software
CFLAGS_OPT = -O0
include $(TRTL_SW)/rt/Makefile
include $(TRTL_SW)/firmware/Makefile
......@@ -6,4 +6,4 @@ TRTL_SW = $(TRTL)/software
CFLAGS_OPT = -O0
include $(TRTL_SW)/rt/Makefile
include $(TRTL_SW)/firmware/Makefile
......@@ -12,9 +12,9 @@ CASE_SENSE_NAMES = YES
WARN_NO_PARAMDOC = YES
INPUT = ../software/lib ../software/rt ../software/include
INPUT = ../software/lib ../software/firmware ../software/include
RECURSIVE = YES
EXCLUDE = ../software/rt/scripts ../software/lib/PyMockTurtle ../software/kernel
EXCLUDE = ../software/firmware/scripts ../software/lib/PyMockTurtle ../software/kernel
GENERATE_HTML = NO
GENERATE_LATEX = NO
......
......@@ -124,7 +124,7 @@ The framework usage, rather than precluding the user to use library
functions, is complementary to the library.
All the Mock Turtle firmware source code can be found in the directory
``/path/to/mockturtle/software/rt/``.
``/path/to/mockturtle/software/firmware/``.
.. toctree::
:maxdepth: 2
......@@ -155,7 +155,7 @@ Mock Turtle has a generic ``Makefile`` that you should include in your
MOCKTURTLE_LDSCRIPT := myfirmware.ld
# INCLUDE GENERIC Makefile
include $(TRTL_SW)/rt/Makefile
include $(TRTL_SW)/firmware/Makefile
Here the list of supported Makefile environment variables
......
......@@ -21,8 +21,8 @@ CFLAGS += -mabi=ilp32 -march=rv32i -ffunction-sections -fdata-sections
LDFLAGS += -lgcc -lc -Wl,--gc-sections
# provide search patch for sources
vpath %.c $(TRTL)/software/rt
vpath %.S $(TRTL)/software/rt
vpath %.c $(TRTL)/software/firmware
vpath %.S $(TRTL)/software/firmware
BUILDDIR := build
......@@ -47,9 +47,9 @@ CFLAGS += $(CFLAGS_DBG)
CFLAGS += -Wall -D__TRTL_FIRMWARE__ -DARCH=urv
CFLAGS += -I.
CFLAGS += -I$(BUILDDIR)/include
CFLAGS += -I$(TRTL)/software/rt
CFLAGS += -I$(TRTL)/software/rt/lib
CFLAGS += -I$(TRTL)/software/rt/framework
CFLAGS += -I$(TRTL)/software/firmware
CFLAGS += -I$(TRTL)/software/firmware/lib
CFLAGS += -I$(TRTL)/software/firmware/framework
CFLAGS += -I$(TRTL)/software/include
CFLAGS += -DGIT_VERSION=$(RT_GIT_VERSION)
......@@ -77,7 +77,7 @@ OBJS_BUILD = $(addprefix $(BUILDDIR)/, $(OBJS))
OBJDIR_BUILD = $(addprefix $(BUILDDIR)/, $(OBJDIR))
OBJDIR_BUILD += $(BUILDDIR)
MOCKTURTLE_LDSCRIPT ?= $(TRTL)/software/rt/urv/mockturtle.ld
MOCKTURTLE_LDSCRIPT ?= $(TRTL)/software/firmware/urv/mockturtle.ld
.PHONY: all clean cleanall check-def
......@@ -152,16 +152,16 @@ include $(wildcard $(patsubst %,%/.d/*.d,$(basename $(OBJDIR_BUILD))))
# this one is used to generate autoconf.h file
$(AUTOCONF) silentoldconfig: .config | $(BUILDDIR)
export KCONFIG_CONFIG=$(CURDIR)/.config; \
$(MAKE) quiet=quiet_ KBUILD_KCONFIG=$(CURDIR)/Kconfig projtree=$(CURDIR)/$(BUILDDIR) -C $(TRTL)/software/rt -f Makefile.kconfig silentoldconfig
$(MAKE) quiet=quiet_ KBUILD_KCONFIG=$(CURDIR)/Kconfig projtree=$(CURDIR)/$(BUILDDIR) -C $(TRTL)/software/firmware -f Makefile.kconfig silentoldconfig
scripts_basic config:
$(MAKE) quiet=quiet_ KBUILD_KCONFIG=$(CURDIR)/Kconfig projtree=$(CURDIR) -C $(TRTL)/software/rt -f Makefile.kconfig $@
$(MAKE) quiet=quiet_ KBUILD_KCONFIG=$(CURDIR)/Kconfig projtree=$(CURDIR) -C $(TRTL)/software/firmware -f Makefile.kconfig $@
%config:
$(MAKE) quiet=quiet_ KBUILD_KCONFIG=$(CURDIR)/Kconfig projtree=$(CURDIR) -C $(TRTL)/software/rt -f Makefile.kconfig $@
$(MAKE) quiet=quiet_ KBUILD_KCONFIG=$(CURDIR)/Kconfig projtree=$(CURDIR) -C $(TRTL)/software/firmware -f Makefile.kconfig $@
defconfig:
$(MAKE) quiet=quiet_ KBUILD_KCONFIG=$(CURDIR)/Kconfig projtree=$(CURDIR) -C $(TRTL)/software/rt -f Makefile.kconfig mt_defconfig
$(MAKE) quiet=quiet_ KBUILD_KCONFIG=$(CURDIR)/Kconfig projtree=$(CURDIR) -C $(TRTL)/software/firmware -f Makefile.kconfig mt_defconfig
.config: ;
......
......@@ -18,4 +18,4 @@ MOCKTURTLE_FRAMEWORK_BUFFER_ENABLE := 0
MOCKTURTLE_FRAMEWORK_DEBUG_ENABLE := 0
MOCKTURTLE_FRAMEWORK_32BIT_ALIGN := 1
include $(TRTL_SW)/rt/Makefile
include $(TRTL_SW)/firmware/Makefile
......@@ -6,4 +6,4 @@ TRTL_SW = $(TRTL)/software
CFLAGS_OPT = -O0 # disable optimization
include $(TRTL_SW)/rt/Makefile
include $(TRTL_SW)/firmware/Makefile
......@@ -6,4 +6,4 @@ TRTL_SW = $(TRTL)/software
CFLAGS_OPT = -O0 # disable optimization
include $(TRTL_SW)/rt/Makefile
include $(TRTL_SW)/firmware/Makefile
......@@ -6,4 +6,4 @@ TRTL_SW = $(TRTL)/software
CFLAGS_OPT = -O0 # disable optimization
include $(TRTL_SW)/rt/Makefile
include $(TRTL_SW)/firmware/Makefile
......@@ -6,4 +6,4 @@ TRTL_SW = $(TRTL)/software
CFLAGS_OPT = -O0 # disable optimization
include $(TRTL_SW)/rt/Makefile
include $(TRTL_SW)/firmware/Makefile
......@@ -6,4 +6,4 @@ TRTL_SW = $(TRTL)/software
CFLAGS_OPT = -O0 # disable optimization
include $(TRTL_SW)/rt/Makefile
include $(TRTL_SW)/firmware/Makefile
......@@ -6,4 +6,4 @@ TRTL_SW = $(TRTL)/software
CFLAGS_OPT = -O0 # disable optimization
include $(TRTL_SW)/rt/Makefile
include $(TRTL_SW)/firmware/Makefile
......@@ -6,4 +6,4 @@ TRTL_SW = $(TRTL)/software
CFLAGS_OPT = -O0 # disable optimization
include $(TRTL_SW)/rt/Makefile
include $(TRTL_SW)/firmware/Makefile
......@@ -6,4 +6,4 @@ TRTL_SW = $(TRTL)/software
CFLAGS_OPT = -O0 # disable optimization
include $(TRTL_SW)/rt/Makefile
include $(TRTL_SW)/firmware/Makefile
......@@ -6,4 +6,4 @@ TRTL_SW = $(TRTL)/software
CFLAGS_OPT = -O0 # disable optimization
include $(TRTL_SW)/rt/Makefile
include $(TRTL_SW)/firmware/Makefile
......@@ -4,4 +4,4 @@ OUTPUT = fw-serial
TRTL ?= ../../../
TRTL_SW = $(TRTL)/software
include $(TRTL_SW)/rt/Makefile
include $(TRTL_SW)/firmware/Makefile
......@@ -4,4 +4,4 @@ OUTPUT = sim-verif
TRTL ?= ../../../
TRTL_SW = $(TRTL)/software
include $(TRTL_SW)/rt/Makefile
include $(TRTL_SW)/firmware/Makefile
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