[PATCH 04/17] bsp/riscv_generic: Rename to "riscv"
Sebastian Huber
sebastian.huber at embedded-brains.de
Fri Jun 22 11:59:01 UTC 2018
Update #3433.
---
bsps/riscv/{riscv_generic => riscv}/btimer/btimer.c | 0
bsps/riscv/{riscv_generic => riscv}/clock/clockdrv.c | 0
bsps/riscv/{riscv_generic => riscv}/config/rv32i.cfg | 0
bsps/riscv/{riscv_generic => riscv}/config/rv32iac.cfg | 0
bsps/riscv/{riscv_generic => riscv}/config/rv32im.cfg | 0
bsps/riscv/{riscv_generic => riscv}/config/rv32imac.cfg | 0
bsps/riscv/{riscv_generic => riscv}/config/rv32imafc.cfg | 0
bsps/riscv/{riscv_generic => riscv}/config/rv64imac.cfg | 0
.../riscv/{riscv_generic => riscv}/config/rv64imafdc.cfg | 0
bsps/riscv/{riscv_generic => riscv}/console/console-io.c | 0
bsps/riscv/riscv/headers.am | 10 ++++++++++
bsps/riscv/{riscv_generic => riscv}/include/bsp.h | 0
bsps/riscv/{riscv_generic => riscv}/include/bsp/irq.h | 0
bsps/riscv/{riscv_generic => riscv}/include/tm27.h | 0
bsps/riscv/{riscv_generic => riscv}/irq/irq.c | 0
.../{riscv_generic => riscv}/start/bsp_fatal_halt.c | 0
bsps/riscv/{riscv_generic => riscv}/start/bsp_specs | 0
bsps/riscv/{riscv_generic => riscv}/start/linkcmds | 0
bsps/riscv/{riscv_generic => riscv}/start/linkcmds.base | 0
bsps/riscv/{riscv_generic => riscv}/start/start.S | 0
bsps/riscv/riscv_generic/headers.am | 10 ----------
c/src/lib/libbsp/riscv/acinclude.m4 | 4 ++--
.../libbsp/riscv/{riscv_generic => riscv}/Makefile.am | 16 ++++++++--------
.../libbsp/riscv/{riscv_generic => riscv}/configure.ac | 4 ++--
24 files changed, 22 insertions(+), 22 deletions(-)
rename bsps/riscv/{riscv_generic => riscv}/btimer/btimer.c (100%)
rename bsps/riscv/{riscv_generic => riscv}/clock/clockdrv.c (100%)
rename bsps/riscv/{riscv_generic => riscv}/config/rv32i.cfg (100%)
rename bsps/riscv/{riscv_generic => riscv}/config/rv32iac.cfg (100%)
rename bsps/riscv/{riscv_generic => riscv}/config/rv32im.cfg (100%)
rename bsps/riscv/{riscv_generic => riscv}/config/rv32imac.cfg (100%)
rename bsps/riscv/{riscv_generic => riscv}/config/rv32imafc.cfg (100%)
rename bsps/riscv/{riscv_generic => riscv}/config/rv64imac.cfg (100%)
rename bsps/riscv/{riscv_generic => riscv}/config/rv64imafdc.cfg (100%)
rename bsps/riscv/{riscv_generic => riscv}/console/console-io.c (100%)
create mode 100644 bsps/riscv/riscv/headers.am
rename bsps/riscv/{riscv_generic => riscv}/include/bsp.h (100%)
rename bsps/riscv/{riscv_generic => riscv}/include/bsp/irq.h (100%)
rename bsps/riscv/{riscv_generic => riscv}/include/tm27.h (100%)
rename bsps/riscv/{riscv_generic => riscv}/irq/irq.c (100%)
rename bsps/riscv/{riscv_generic => riscv}/start/bsp_fatal_halt.c (100%)
rename bsps/riscv/{riscv_generic => riscv}/start/bsp_specs (100%)
rename bsps/riscv/{riscv_generic => riscv}/start/linkcmds (100%)
rename bsps/riscv/{riscv_generic => riscv}/start/linkcmds.base (100%)
rename bsps/riscv/{riscv_generic => riscv}/start/start.S (100%)
delete mode 100644 bsps/riscv/riscv_generic/headers.am
rename c/src/lib/libbsp/riscv/{riscv_generic => riscv}/Makefile.am (76%)
rename c/src/lib/libbsp/riscv/{riscv_generic => riscv}/configure.ac (78%)
diff --git a/bsps/riscv/riscv_generic/btimer/btimer.c b/bsps/riscv/riscv/btimer/btimer.c
similarity index 100%
rename from bsps/riscv/riscv_generic/btimer/btimer.c
rename to bsps/riscv/riscv/btimer/btimer.c
diff --git a/bsps/riscv/riscv_generic/clock/clockdrv.c b/bsps/riscv/riscv/clock/clockdrv.c
similarity index 100%
rename from bsps/riscv/riscv_generic/clock/clockdrv.c
rename to bsps/riscv/riscv/clock/clockdrv.c
diff --git a/bsps/riscv/riscv_generic/config/rv32i.cfg b/bsps/riscv/riscv/config/rv32i.cfg
similarity index 100%
rename from bsps/riscv/riscv_generic/config/rv32i.cfg
rename to bsps/riscv/riscv/config/rv32i.cfg
diff --git a/bsps/riscv/riscv_generic/config/rv32iac.cfg b/bsps/riscv/riscv/config/rv32iac.cfg
similarity index 100%
rename from bsps/riscv/riscv_generic/config/rv32iac.cfg
rename to bsps/riscv/riscv/config/rv32iac.cfg
diff --git a/bsps/riscv/riscv_generic/config/rv32im.cfg b/bsps/riscv/riscv/config/rv32im.cfg
similarity index 100%
rename from bsps/riscv/riscv_generic/config/rv32im.cfg
rename to bsps/riscv/riscv/config/rv32im.cfg
diff --git a/bsps/riscv/riscv_generic/config/rv32imac.cfg b/bsps/riscv/riscv/config/rv32imac.cfg
similarity index 100%
rename from bsps/riscv/riscv_generic/config/rv32imac.cfg
rename to bsps/riscv/riscv/config/rv32imac.cfg
diff --git a/bsps/riscv/riscv_generic/config/rv32imafc.cfg b/bsps/riscv/riscv/config/rv32imafc.cfg
similarity index 100%
rename from bsps/riscv/riscv_generic/config/rv32imafc.cfg
rename to bsps/riscv/riscv/config/rv32imafc.cfg
diff --git a/bsps/riscv/riscv_generic/config/rv64imac.cfg b/bsps/riscv/riscv/config/rv64imac.cfg
similarity index 100%
rename from bsps/riscv/riscv_generic/config/rv64imac.cfg
rename to bsps/riscv/riscv/config/rv64imac.cfg
diff --git a/bsps/riscv/riscv_generic/config/rv64imafdc.cfg b/bsps/riscv/riscv/config/rv64imafdc.cfg
similarity index 100%
rename from bsps/riscv/riscv_generic/config/rv64imafdc.cfg
rename to bsps/riscv/riscv/config/rv64imafdc.cfg
diff --git a/bsps/riscv/riscv_generic/console/console-io.c b/bsps/riscv/riscv/console/console-io.c
similarity index 100%
rename from bsps/riscv/riscv_generic/console/console-io.c
rename to bsps/riscv/riscv/console/console-io.c
diff --git a/bsps/riscv/riscv/headers.am b/bsps/riscv/riscv/headers.am
new file mode 100644
index 0000000000..ce637f40d1
--- /dev/null
+++ b/bsps/riscv/riscv/headers.am
@@ -0,0 +1,10 @@
+## This file was generated by "./boostrap -H".
+
+include_HEADERS =
+include_HEADERS += ../../../../../../bsps/riscv/riscv/include/bsp.h
+include_HEADERS += include/bspopts.h
+include_HEADERS += ../../../../../../bsps/riscv/riscv/include/tm27.h
+
+include_bspdir = $(includedir)/bsp
+include_bsp_HEADERS =
+include_bsp_HEADERS += ../../../../../../bsps/riscv/riscv/include/bsp/irq.h
diff --git a/bsps/riscv/riscv_generic/include/bsp.h b/bsps/riscv/riscv/include/bsp.h
similarity index 100%
rename from bsps/riscv/riscv_generic/include/bsp.h
rename to bsps/riscv/riscv/include/bsp.h
diff --git a/bsps/riscv/riscv_generic/include/bsp/irq.h b/bsps/riscv/riscv/include/bsp/irq.h
similarity index 100%
rename from bsps/riscv/riscv_generic/include/bsp/irq.h
rename to bsps/riscv/riscv/include/bsp/irq.h
diff --git a/bsps/riscv/riscv_generic/include/tm27.h b/bsps/riscv/riscv/include/tm27.h
similarity index 100%
rename from bsps/riscv/riscv_generic/include/tm27.h
rename to bsps/riscv/riscv/include/tm27.h
diff --git a/bsps/riscv/riscv_generic/irq/irq.c b/bsps/riscv/riscv/irq/irq.c
similarity index 100%
rename from bsps/riscv/riscv_generic/irq/irq.c
rename to bsps/riscv/riscv/irq/irq.c
diff --git a/bsps/riscv/riscv_generic/start/bsp_fatal_halt.c b/bsps/riscv/riscv/start/bsp_fatal_halt.c
similarity index 100%
rename from bsps/riscv/riscv_generic/start/bsp_fatal_halt.c
rename to bsps/riscv/riscv/start/bsp_fatal_halt.c
diff --git a/bsps/riscv/riscv_generic/start/bsp_specs b/bsps/riscv/riscv/start/bsp_specs
similarity index 100%
rename from bsps/riscv/riscv_generic/start/bsp_specs
rename to bsps/riscv/riscv/start/bsp_specs
diff --git a/bsps/riscv/riscv_generic/start/linkcmds b/bsps/riscv/riscv/start/linkcmds
similarity index 100%
rename from bsps/riscv/riscv_generic/start/linkcmds
rename to bsps/riscv/riscv/start/linkcmds
diff --git a/bsps/riscv/riscv_generic/start/linkcmds.base b/bsps/riscv/riscv/start/linkcmds.base
similarity index 100%
rename from bsps/riscv/riscv_generic/start/linkcmds.base
rename to bsps/riscv/riscv/start/linkcmds.base
diff --git a/bsps/riscv/riscv_generic/start/start.S b/bsps/riscv/riscv/start/start.S
similarity index 100%
rename from bsps/riscv/riscv_generic/start/start.S
rename to bsps/riscv/riscv/start/start.S
diff --git a/bsps/riscv/riscv_generic/headers.am b/bsps/riscv/riscv_generic/headers.am
deleted file mode 100644
index 6993fe8688..0000000000
--- a/bsps/riscv/riscv_generic/headers.am
+++ /dev/null
@@ -1,10 +0,0 @@
-## This file was generated by "./boostrap -H".
-
-include_HEADERS =
-include_HEADERS += ../../../../../../bsps/riscv/riscv_generic/include/bsp.h
-include_HEADERS += include/bspopts.h
-include_HEADERS += ../../../../../../bsps/riscv/riscv_generic/include/tm27.h
-
-include_bspdir = $(includedir)/bsp
-include_bsp_HEADERS =
-include_bsp_HEADERS += ../../../../../../bsps/riscv/riscv_generic/include/bsp/irq.h
diff --git a/c/src/lib/libbsp/riscv/acinclude.m4 b/c/src/lib/libbsp/riscv/acinclude.m4
index 23589932ba..d8b3319b08 100644
--- a/c/src/lib/libbsp/riscv/acinclude.m4
+++ b/c/src/lib/libbsp/riscv/acinclude.m4
@@ -2,8 +2,8 @@
AC_DEFUN([RTEMS_CHECK_BSPDIR],
[
case "$1" in
- riscv_generic )
- AC_CONFIG_SUBDIRS([riscv_generic]);;
+ riscv )
+ AC_CONFIG_SUBDIRS([riscv]);;
*)
AC_MSG_ERROR([Invalid BSP]);;
esac
diff --git a/c/src/lib/libbsp/riscv/riscv_generic/Makefile.am b/c/src/lib/libbsp/riscv/riscv/Makefile.am
similarity index 76%
rename from c/src/lib/libbsp/riscv/riscv_generic/Makefile.am
rename to c/src/lib/libbsp/riscv/riscv/Makefile.am
index 23410e7823..3d819f758b 100644
--- a/c/src/lib/libbsp/riscv/riscv_generic/Makefile.am
+++ b/c/src/lib/libbsp/riscv/riscv/Makefile.am
@@ -8,7 +8,7 @@ ACLOCAL_AMFLAGS = -I ../../../../aclocal
include $(top_srcdir)/../../../../automake/compile.am
include $(top_srcdir)/../../bsp.am
-dist_project_lib_DATA = ../../../../../../bsps/riscv/riscv_generic/start/bsp_specs
+dist_project_lib_DATA = ../../../../../../bsps/riscv/riscv/start/bsp_specs
###############################################################################
# Header #
@@ -18,7 +18,7 @@ dist_project_lib_DATA = ../../../../../../bsps/riscv/riscv_generic/start/bsp_spe
# Data #
###############################################################################
-start.$(OBJEXT): ../../../../../../bsps/riscv/riscv_generic/start/start.S
+start.$(OBJEXT): ../../../../../../bsps/riscv/riscv/start/start.S
$(CPPASCOMPILE) -o $@ -c $<
project_lib_DATA = start.$(OBJEXT)
@@ -34,7 +34,7 @@ project_lib_LIBRARIES = librtemsbsp.a
# Startup
librtemsbsp_a_SOURCES = ../../../../../../bsps/shared/start/bspreset-empty.c
librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspstart-empty.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/riscv/riscv_generic/start/bsp_fatal_halt.c
+librtemsbsp_a_SOURCES += ../../../../../../bsps/riscv/riscv/start/bsp_fatal_halt.c
# Shared
librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspfatal-default.c
@@ -43,26 +43,26 @@ librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/stackalloc.c
librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspgetworkarea-default.c
# clock
-librtemsbsp_a_SOURCES +=../../../../../../bsps/riscv/riscv_generic/clock/clockdrv.c
+librtemsbsp_a_SOURCES +=../../../../../../bsps/riscv/riscv/clock/clockdrv.c
# Timer
-librtemsbsp_a_SOURCES += ../../../../../../bsps/riscv/riscv_generic/btimer/btimer.c
+librtemsbsp_a_SOURCES += ../../../../../../bsps/riscv/riscv/btimer/btimer.c
# console
librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/console-polled.c
# IRQ
librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/irq/irq-default-handler.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/riscv/riscv_generic/irq/irq.c
+librtemsbsp_a_SOURCES += ../../../../../../bsps/riscv/riscv/irq/irq.c
# Cache
librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/cache/nocache.c
# debugio
-librtemsbsp_a_SOURCES += ../../../../../../bsps/riscv/riscv_generic/console/console-io.c
+librtemsbsp_a_SOURCES += ../../../../../../bsps/riscv/riscv/console/console-io.c
include $(top_srcdir)/../../../../automake/local.am
include $(srcdir)/../../../../../../bsps/shared/irq-sources.am
include $(srcdir)/../../../../../../bsps/shared/shared-sources.am
-include $(srcdir)/../../../../../../bsps/riscv/riscv_generic/headers.am
+include $(srcdir)/../../../../../../bsps/riscv/riscv/headers.am
diff --git a/c/src/lib/libbsp/riscv/riscv_generic/configure.ac b/c/src/lib/libbsp/riscv/riscv/configure.ac
similarity index 78%
rename from c/src/lib/libbsp/riscv/riscv_generic/configure.ac
rename to c/src/lib/libbsp/riscv/riscv/configure.ac
index b6aa54b03c..3226cdc42c 100644
--- a/c/src/lib/libbsp/riscv/riscv_generic/configure.ac
+++ b/c/src/lib/libbsp/riscv/riscv/configure.ac
@@ -2,11 +2,11 @@
#
# @file
#
-# @brief Configure script of LibBSP for riscv_generic BSP.
+# @brief Configure script of LibBSP for riscv BSP.
#
AC_PREREQ([2.69])
-AC_INIT([rtems-c-src-lib-libbsp-riscv_generic],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla])
+AC_INIT([rtems-c-src-lib-libbsp-riscv],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla])
RTEMS_TOP(../../../../../..)
RTEMS_SOURCE_TOP
RTEMS_BUILD_TOP
--
2.13.7
More information about the devel
mailing list