blob: 1c5d71ed41d28bf80f8b9dfd57353db398a24510 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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"
|