summaryrefslogtreecommitdiffstats
path: root/bsps/riscv/griscv/start/bsp_specs
diff options
context:
space:
mode:
authorJiri Gaisler <jiri@gaisler.se>2019-01-18 12:37:55 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2019-01-22 12:50:09 +0100
commitd3d4e77c4218377d9aad9a3ac5d71461274bbc1e (patch)
tree0d47048941614f98ca389aeb43b81461338646b1 /bsps/riscv/griscv/start/bsp_specs
parentgrlib: make memory coherency cpu-independent (diff)
downloadrtems-d3d4e77c4218377d9aad9a3ac5d71461274bbc1e.tar.bz2
riscv: add griscv bsp
Update #3678.
Diffstat (limited to 'bsps/riscv/griscv/start/bsp_specs')
-rw-r--r--bsps/riscv/griscv/start/bsp_specs9
1 files changed, 9 insertions, 0 deletions
diff --git a/bsps/riscv/griscv/start/bsp_specs b/bsps/riscv/griscv/start/bsp_specs
new file mode 100644
index 0000000000..87638cc027
--- /dev/null
+++ b/bsps/riscv/griscv/start/bsp_specs
@@ -0,0 +1,9 @@
+%rename endfile old_endfile
+%rename startfile old_startfile
+
+*startfile:
+%{!qrtems: %(old_startfile)} \
+%{!nostdlib: %{qrtems: crti.o%s crtbegin.o%s}}
+
+*endfile:
+%{!qrtems: %(old_endfile)} %{qrtems: crtend.o%s crtn.o%s}