OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [gnu-src/] [site.exp] - Diff between revs 218 and 453

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 218 Rev 453
Line 1... Line 1...
#Make sure we look in the right place for the board description files
#Make sure we look in the right place for the board description files
if ![info exists boards_dir] {
if ![info exists boards_dir] {
        set boards_dir {}
        set boards_dir {}
}
}
 
 
 
send_user "tool_root_dir  = $tool_root_dir\n"
 
send_user "target_triplet = $target_triplet\n"
 
 
# Crude way of finding the boards directory
# 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"
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
global target_list
  case "$target_triplet" in {
  case "$target_triplet" in {
    { "or32-*-elf" } {
    { "or32-*-elf" } {
        set target_list { "or32-sim" }
        set target_list { "or32-elf-sim" }
 
    }
 
    { "or32-*-linux*" } {
 
        set target_list { "or32-linux-sim" }
    }
    }
  }
  }

powered by: WebSVN 2.1.0

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