3 |
|
|
4 |
# Load the generic configuration for this board. This will define any |
# Load the generic configuration for this board. This will define any |
5 |
# routines needed by the tool to communicate with the board. |
# routines needed by the tool to communicate with the board. |
6 |
load_generic_config "vxworks"; |
load_generic_config "vxworks" |
7 |
|
|
8 |
# No multilib flags by default. |
# No multilib flags by default. |
9 |
process_multilib_options ""; |
process_multilib_options "" |
10 |
|
|
11 |
# The compiler used to build for this board. Note that this has nothing to do |
# The compiler used to build for this board. Note that this has nothing to do |
12 |
# with what compiler is tested when testing gcc. |
# with what compiler is tested when testing gcc. |
13 |
set_board_info compiler "[find_gcc]"; |
set_board_info compiler "[find_gcc]" |
14 |
|
|
15 |
# These are probably wrong. |
# These are probably wrong. |
16 |
set_board_info cflags "-EL"; |
set_board_info cflags "-EL" |
17 |
# vxworks 5.1 needs the executable to be relinkable. |
# vxworks 5.1 needs the executable to be relinkable. |
18 |
set_board_info ldflags "-nostdlib -r"; |
set_board_info ldflags "-nostdlib -r" |
19 |
set_board_info libs "-lgcc"; |
set_board_info libs "-lgcc" |
20 |
|
|
21 |
# No linker script needed. |
# No linker script needed. |
22 |
set_board_info ldscript ""; |
set_board_info ldscript "" |
23 |
|
|
24 |
# GDB needs to use "target vxworks" to talk to the board. |
# GDB needs to use "target vxworks" to talk to the board. |
25 |
set_board_info gdb_protocol "vxworks"; |
set_board_info gdb_protocol "vxworks" |