summaryrefslogtreecommitdiff
path: root/dejagnu/baseboards/vx68k.exp
diff options
context:
space:
mode:
Diffstat (limited to 'dejagnu/baseboards/vx68k.exp')
-rw-r--r--dejagnu/baseboards/vx68k.exp25
1 files changed, 25 insertions, 0 deletions
diff --git a/dejagnu/baseboards/vx68k.exp b/dejagnu/baseboards/vx68k.exp
new file mode 100644
index 00000000000..d79f5bd0600
--- /dev/null
+++ b/dejagnu/baseboards/vx68k.exp
@@ -0,0 +1,25 @@
+# This is a list of toolchains that are supported on this board.
+set_board_info target_install {m68k-vxworks5.1 m68k-vxworks5.2}
+
+# Load the generic configuration for this board. This will define any
+# routines needed by the tool to communicate with the board.
+load_generic_config "vxworks";
+
+# No multilib flags by default.
+process_multilib_options "";
+
+# The compiler used to build for this board. Note that this has nothing to do
+# with what compiler is tested when testing gcc.
+set_board_info compiler "[find_gcc]";
+
+# These are probably wrong.
+set_board_info cflags "";
+# vxworks 5.1 needs the executable to be relinkable.
+set_board_info ldflags "-nostdlib -r";
+set_board_info libs "-lgcc";
+
+# No linker script needed.
+set_board_info ldscript "";
+
+# GDB needs to use "target vxworks" to talk to the board.
+set_board_info gdb_protocol "vxworks";