diff options
Diffstat (limited to 'baseboards/vx960.exp')
-rw-r--r-- | baseboards/vx960.exp | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/baseboards/vx960.exp b/baseboards/vx960.exp new file mode 100644 index 0000000..e25c79d --- /dev/null +++ b/baseboards/vx960.exp @@ -0,0 +1,29 @@ +# This is a list of toolchains that are supported on this board. +set_board_info target_install {i960-vxworks5.1 i960-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, but at least it is configurable now. +if { [board_info $board cpu] == "I960CA" } { + set_board_info cflags "-mca"; +} else { + 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"; |