summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/sparc/erc32/startup
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/lib/libbsp/sparc/erc32/startup')
-rw-r--r--c/src/lib/libbsp/sparc/erc32/startup/Makefile.am2
-rw-r--r--c/src/lib/libbsp/sparc/erc32/startup/erc32mec.c18
2 files changed, 19 insertions, 1 deletions
diff --git a/c/src/lib/libbsp/sparc/erc32/startup/Makefile.am b/c/src/lib/libbsp/sparc/erc32/startup/Makefile.am
index 163c1ab859..f4b2c609ff 100644
--- a/c/src/lib/libbsp/sparc/erc32/startup/Makefile.am
+++ b/c/src/lib/libbsp/sparc/erc32/startup/Makefile.am
@@ -8,7 +8,7 @@ VPATH = @srcdir@:@srcdir@/../../shared:@srcdir@/../../../shared
PGM = $(ARCH)/startup.rel
C_FILES = bspclean.c bsplibc.c bsppost.c bspstart.c main.c bootcard.c sbrk.c \
- setvec.c spurious.c
+ setvec.c spurious.c erc32mec.c
C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
S_FILES = boardinit.S
diff --git a/c/src/lib/libbsp/sparc/erc32/startup/erc32mec.c b/c/src/lib/libbsp/sparc/erc32/startup/erc32mec.c
new file mode 100644
index 0000000000..b41b2ba6a4
--- /dev/null
+++ b/c/src/lib/libbsp/sparc/erc32/startup/erc32mec.c
@@ -0,0 +1,18 @@
+/*
+ * Put this variable in a separate file so it is only linked in when needed.
+ *
+ * COPYRIGHT (c) 1989-2002.
+ * On-Line Applications Research Corporation (OAR).
+ *
+ * The license and distribution terms for this file may be
+ * found in the file LICENSE in this distribution or at
+ * http://www.OARcorp.com/rtems/license.html.
+ *
+ * $Id$
+ */
+
+#include <rtems.h>
+#include <bsp.h>
+
+ERC32_Register_Map ERC32_MEC;
+