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

Subversion Repositories or1k

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

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
# This tells it which directory to look in for the simulator.
13
setup_sim erc32;
14
 
15
# It needs no multilib flags by default.
16
process_multilib_options ""
17
 
18
set_board_info compiler  "[find_gcc]";
19
set_board_info cflags  "[newlib_include_flags] [libgloss_include_flags]";
20
set_board_info ldflags  "-nostdlib -nostartfiles [libgloss_link_flags] [newlib_link_flags]";
21
 
22
# ELF simulator linker script.
23
set_board_info ldscript "-Telfsim.ld";
24
 
25
# The simulator doesn't return exit statuses and we need to indicate this.
26
set_board_info needs_status_wrapper 1;
27
 
28
# We can't pass arguments.
29
set_board_info noargs 1;
30
# Or do signals.
31
set_board_info gdb,nosignals 1;
32
 
33
# We want to specify the sparclite emulator in GDB.
34
set_board_info gdb,target_sim_options "-sparclite"
35
 
36
# Pass -a -sparclite to the standalone simulator
37
set_board_info sim,options "-a -sparclite"

powered by: WebSVN 2.1.0

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