URL
https://opencores.org/ocsvn/or1k/or1k/trunk
Go to most recent revision |
Details |
Compare with Previous |
View Log
Line No. |
Rev |
Author |
Line |
1 |
578 |
markom |
# This is a list of toolchains that are supported on this board.
|
2 |
|
|
set_board_info target_install {strongarm-elf}
|
3 |
|
|
|
4 |
|
|
# Load the generic configuration for this board. This will define a
|
5 |
|
|
# set of generic routines used by the tool to communicate with the
|
6 |
|
|
# board.
|
7 |
|
|
load_generic_config "cygmon";
|
8 |
|
|
|
9 |
|
|
# It needs no multilib flags by default.
|
10 |
|
|
process_multilib_options ""
|
11 |
|
|
|
12 |
|
|
set_board_info compiler "[find_gcc]";
|
13 |
|
|
set_board_info cflags "[newlib_include_flags] [libgloss_include_flags]";
|
14 |
|
|
set_board_info ldflags "[libgloss_link_flags] [newlib_link_flags] [board_info $board addl_link_flags]";
|
15 |
|
|
|
16 |
|
|
# CygMON linker script.
|
17 |
|
|
|
18 |
|
|
if {[string compare [board_info $board boardtype] "sa1100dp"] == 0} {
|
19 |
|
|
set_board_info ldscript "-specs=sa1100dp.specs"
|
20 |
|
|
} elseif {[string compare [board_info $board boardtype] "sa1100mm"] == 0} {
|
21 |
|
|
set_board_info ldscript "-specs=sa1100mm.specs"
|
22 |
|
|
} elseif {[string compare [board_info $board boardtype] "sa-iop"] == 0} {
|
23 |
|
|
set_board_info ldscript "-specs=sa-iop.specs"
|
24 |
|
|
} elseif {[string compare [board_info $board boardtype] "ebsa-285"] == 0} {
|
25 |
|
|
set_board_info ldscript "-specs=ebsa-285.specs"
|
26 |
|
|
}
|
27 |
|
|
|
28 |
|
|
# Standard remote protocol.
|
29 |
|
|
set_board_info gdb_protocol "remote";
|
30 |
|
|
# We can't do input in GDB (yet! HA!). It *will* do output, hurrah.
|
31 |
|
|
set_board_info gdb,noinferiorio 1;
|
32 |
|
|
# Or pass arguments.
|
33 |
|
|
set_board_info gdb,noargs 1;
|
34 |
|
|
set_board_info noargs 1;
|
35 |
|
|
# Or do signals.
|
36 |
|
|
set_board_info gdb,nosignals 1;
|
37 |
|
|
|
38 |
|
|
set_board_info shell_prompt "cygmon>"
|
39 |
|
|
|
40 |
|
|
set_board_info use_gdb_stub 1;
|
41 |
|
|
set_board_info use_cygmon 1
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.