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 the name of the installed tools for this target.
|
2 |
|
|
set target_install "mips64vr4100-elf"
|
3 |
|
|
|
4 |
|
|
# Load the generic configuration for this board. This will define a basic
|
5 |
|
|
# set of routines needed by the tool to communicate with the board.
|
6 |
|
|
load_generic_config "sim"
|
7 |
|
|
|
8 |
|
|
load_lib "libgloss.exp"
|
9 |
|
|
|
10 |
|
|
# We need this for find_gcc and *_include_flags/*_link_flags.
|
11 |
|
|
load_board_description "basic-sim"
|
12 |
|
|
|
13 |
|
|
if ![info exists board_info($board,multilib_flags)] {
|
14 |
|
|
set board_info($board,multilib_flags) "-mips16"
|
15 |
|
|
}
|
16 |
|
|
|
17 |
|
|
# This tells it which directory to look in for the simulator.
|
18 |
|
|
setup_sim mips
|
19 |
|
|
|
20 |
|
|
# We only support newlib on this target. We assume that all multilib
|
21 |
|
|
# options have been specified before we get here.
|
22 |
|
|
set board_info($board,compiler) "[find_gcc]"
|
23 |
|
|
set board_info($board,cflags) "[libgloss_include_flags] [newlib_include_flags] [libio_include_flags]"
|
24 |
|
|
set board_info($board,ldflags) "[libgloss_link_flags] [newlib_link_flags] [libio_link_flags]"
|
25 |
|
|
# IDT linker script.
|
26 |
|
|
set board_info($board,ldscript) "-Wl,-Tidt.ld"
|
27 |
|
|
|
28 |
|
|
# The simulator doesn't return exit statuses and we need to indicate this;
|
29 |
|
|
# the standard GCC wrapper will work with this target.
|
30 |
|
|
set board_info($board,needs_status_wrapper) 1
|
31 |
|
|
set board_info($board,gdb,noargs) 1
|
32 |
|
|
set_board_info gdb,nosignals 1;
|
33 |
|
|
set_board_info noargs 1;
|
© copyright 1999-2025
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.