OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [insight/] [dejagnu/] [baseboards/] [sparclite-sim-le.exp] - Blame information for rev 1772

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 {sparclite-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 "sim";
8
 
9
# basic-sim.exp is a basic description for the standard Cygnus simulator.
10
load_base_board_description "basic-sim";
11
 
12
if ![info exists board_info($board,multilib_flags)] {
13
    set board_info($board,multilib_flags) "-mlittle-endian-data"
14
}
15
 
16
# This tells it which directory to look in for the simulator.
17
setup_sim erc32;
18
 
19
# It needs no multilib flags by default.
20
process_multilib_options ""
21
 
22
set_board_info compiler  "[find_gcc]";
23
set_board_info cflags  "[newlib_include_flags] [libgloss_include_flags]";
24
set_board_info ldflags  "-nostdlib -nostartfiles [libgloss_link_flags] [newlib_link_flags]";
25
 
26
# ELF simulator linker script.
27
set_board_info ldscript "-Telfsim.ld";
28
 
29
# The simulator doesn't return exit statuses and we need to indicate this.
30
set_board_info needs_status_wrapper 1;
31
 
32
# We use a GDB stub to talk to the board.
33
# set_board_info use_gdb_stub 1;
34
# For GDB, we need to use a real stub (not the separate loader scheme
35
# we use for Sparclet).
36
# set_board_info gdb_stub  "";
37
# No mathlib.
38
# set_board_info mathlib  "";
39
# We can't do I/O in GDB.
40
# set_board_info gdb,noinferiorio 1;
41
# Or pass arguments.
42
set_board_info noargs 1;
43
# Or do signals.
44
set_board_info gdb,nosignals 1;
45
 
46
#We want to specify the sparclite emulator in GDB.
47
set_board_info gdb,target_sim_options "-sparclite"

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.