-
Notifications
You must be signed in to change notification settings - Fork 48
/
Copy pathsite.exp
41 lines (31 loc) · 1.42 KB
/
site.exp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# Copyright (C) 2010-2017 Synopsys Inc.
# Contributor Brendan Kehoe <[email protected]>
# Contributor Jeremy Bennett <[email protected]>
# Contributor Anton Kolesov <[email protected]>
# This file is an ARC specific site.exp
# This program is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by the Free
# Software Foundation; either version 3 of the License, or (at your option)
# any later version.
# This program is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
# more details.
# You should have received a copy of the GNU General Public License along
# with this program. If not, see <http://www.gnu.org/licenses/>.
# Make sure we look in the right place for the board description files. Add
# our local boards directories
if ![info exists boards_dir] {
set boards_dir {}
}
lappend boards_dir "[file dirname $env(DEJAGNU)]/dejagnu"
lappend boards_dir "[file dirname $env(DEJAGNU)]/dejagnu/baseboards"
# Some GCC tests requires HOST{CC,CFLAGS}, however those variables are not
# defined by test_installed. Thus set them here.
if ![ info exists HOSTCC ] {
set HOSTCC gcc
}
if ![ info exists HOSTCFLAGS ] {
set HOSTCFLAGS "-g -O2"
}
# vim: noexpandtab sts=4 ts=8: