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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [site.exp] - Blame information for rev 471

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 218 jeremybenn
#Make sure we look in the right place for the board description files
2
if ![info exists boards_dir] {
3
        set boards_dir {}
4
}
5
 
6 453 jeremybenn
send_user "tool_root_dir  = $tool_root_dir\n"
7
send_user "target_triplet = $target_triplet\n"
8
 
9 218 jeremybenn
# Crude way of finding the boards directory
10
lappend boards_dir "${tool_root_dir}/../boards"
11
lappend boards_dir "${tool_root_dir}/../../boards"
12
lappend boards_dir "${tool_root_dir}/../../../boards"
13
lappend boards_dir "${tool_root_dir}/../../../../boards"
14
 
15
global target_list
16
  case "$target_triplet" in {
17
    { "or32-*-elf" } {
18 453 jeremybenn
        set target_list { "or32-elf-sim" }
19 218 jeremybenn
    }
20 453 jeremybenn
    { "or32-*-linux*" } {
21
        set target_list { "or32-linux-sim" }
22
    }
23 218 jeremybenn
  }

powered by: WebSVN 2.1.0

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