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

Subversion Repositories openrisc

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /openrisc/trunk
    from Rev 217 to Rev 218
    Reverse comparison

Rev 217 → Rev 218

/gnu-src/site.exp
0,0 → 1,17
#Make sure we look in the right place for the board description files
if ![info exists boards_dir] {
set boards_dir {}
}
 
# Crude way of finding the boards directory
lappend boards_dir "${tool_root_dir}/../boards"
lappend boards_dir "${tool_root_dir}/../../boards"
lappend boards_dir "${tool_root_dir}/../../../boards"
lappend boards_dir "${tool_root_dir}/../../../../boards"
 
global target_list
case "$target_triplet" in {
{ "or32-*-elf" } {
set target_list { "or32-sim" }
}
}
/gnu-src/bld.sh
69,14 → 69,17
# --no-newlib: Don't build newlib
# --nolink: Don't build the unified source directory
# --noconfig: Don't run configure
# --check: Run DejaGnu tests
# --noinstall: Don't run install
# --help: List these options and exit
doforce="false";
nolink="false";
noconfig="false";
docheck="false";
noinstall="false";
newlibconfigure="--with-newlib";
newlibmake="all-target-newlib all-target-libgloss";
newlibcheck="check-target-newlib check-target-libgloss";
newlibinstall="install-target-newlib install-target-libgloss";
 
until
110,6 → 113,7
--no-newlib)
newlibconfigure=;
newlibmake=;
newlibcheck=;
newlibinstall=;
;;
121,6 → 125,10
noconfig="true";
;;
 
--check)
docheck="true";
;;
 
--noinstall)
noinstall="true";
;;
138,6 → 146,7
echo " --no-newlib Don't build newlib"
echo " --nolink Don't build the unified source directory"
echo " --noconfig Don't run configure"
echo " --check: Run DejaGnu tests"
echo " --noinstall Don't run install"
echo " --help List these options and exit"
exit 0
279,6 → 288,24
exit 1
fi
 
# Optionally check everything. We do each target in turn and don't blow out
# here if the RC is not zero. Most of the test suites fail somewhere.
if [ "x${docheck}" == "xtrue" ]
then
export DEJAGNU=`pwd`/../site.exp
 
for tool_check in check-binutils check-gas check-ld check-gcc \
${newlibcheck} check-gdb
do
make ${tool_check}
 
if [ $? != 0 ];
then
echo "make ${tool_check} failed."
fi
done
fi
 
# Install everything
if [ "x${noinstall}" == "xfalse" ]
then
/gnu-src/boards/or32-sim.exp
0,0 → 1,42
# This is a list of toolchains that are supported on this board.
set_board_info target_install {or32-elf}
 
# Load the generic configuration for this board. This will define a basic set
# of routines needed by the tool to communicate with the board.
load_generic_config "sim"
 
# basic-sim.exp is a basic description for the standard Cygnus simulator.
load_base_board_description "basic-sim"
 
# The name of the sim subdir in src/sim.
setup_sim or32
 
# Options for the simulator
set cfg_file [lookfor_file ${srcdir} libgloss/or32/sim.cfg]
set_board_info sim,options "-a \"-f ${cfg_file}\""
 
# No multilib options needed by default.
process_multilib_options ""
 
# We only support newlib on this
# target. We assume that all multilib options have been specified
# before we get here.
 
set_board_info compiler "[find_gcc]"
set_board_info cflags "[libgloss_include_flags] [newlib_include_flags]"
set_board_info ldflags "[libgloss_link_flags] -mor32-newlib [newlib_link_flags]"
# No linker script needed.
set_board_info ldscript ""
 
# This simulator isn't slow.
set_board_info slow_simulator 0
 
# Can't pass arguments to programs on this target..
set_board_info noargs 1
 
# And there's no support for signals.
set_board_info gdb,nosignals 1
 
# Used by a few gcc.c-torture testcases to delimit how large the stack can
# be.
set_board_info gcc,stack_size 65536
/gnu-src/boards/README
0,0 → 1,11
OpenRISC Unified GNU Tool Chain Repository: Board Configurations
================================================================
 
This directory containts DejaGnu board configurations for the OpenRISC.
 
Any questions should be posted on the OpenRISC forum at
opencores.org/forum,OpenRISC.
 
 
Jeremy Bennett
22 July 2010
gnu-src/boards/README Property changes : Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +Id \ No newline at end of property Index: gnu-src/README =================================================================== --- gnu-src/README (revision 217) +++ gnu-src/README (revision 218) @@ -9,14 +9,17 @@ Using a unified directory means that the entire tool chain can be built in a single pass. The script "bld.sh" will build a unified source tree in the a -directory (default name "srcw") and then build and install all the tools using -a separate build directory (default "bld-or32"). The default install directory -is "/opt/or32-elf-new"). +directory (default name "srcw") and then configure, build, check and install +all the tools using a separate build directory (default "bld-or32"). The +default install directory is "/opt/or32-elf-new"). Use "./bld.sh --help" to check the options available, which includes options -to change all the default directories and to omit any of the phases of the -build process (linking, configuring, building,installing). +to change all the default directories, omit building newlib and to control +whichphases of the build process (linking, configuring, building, checking and +installing) are run. +By default the tests (which require DejaGnu to be installed) are *not* run. + Note in particular that the script requires a version of Or1ksim built from SVN (not Or1ksim 0.4.0 release) and that the --or1ksim parameter should be used to point to the directory where or1ksim is installed (default @@ -27,4 +30,4 @@ Jeremy Bennett -13 July 2010 +22 July 2010

powered by: WebSVN 2.1.0

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