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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [gdb-5.0/] [gdb/] [testsuite/] [gdb.hp/] [gdb.base-hp/] [so-thresh.sh] - Blame information for rev 107

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

Line No. Rev Author Line
1 106 markom
#!/bin/ksh
2
 
3
# so-thresh.sh
4
#
5
# This script is a "wrapper" to use the so-thresh.mk
6
# Makefile.  See the comments in so-thresh.exp
7
# regarding why this script exists.
8
 
9
#set -o xtrace
10
#set -o verbose
11
 
12
if [ "$srcdir" = "${srcdir#/}" ]
13
then
14
    srcdir="$PWD/$srcdir"
15
fi
16
 
17
if [ "$objdir" = "${objdir#/}" ]
18
then
19
    objdir="$PWD/$objdir"
20
fi
21
 
22
subdir="$1"
23
 
24
HERE=$PWD
25
cd $subdir
26
 
27
MAKEFLAGS=
28
make -f ${srcdir}/${subdir}/so-thresh.mk clean require_shlibs all SRCDIR=${srcdir}/${subdir} OBJDIR=${objdir}/${subdir} > ${objdir}/${subdir}/so-thresh.make.out 2>&1
29
STATUS=$?
30
 
31
cd $HERE
32
echo "return STATUS is $STATUS"
33
 
34
exit $STATUS

powered by: WebSVN 2.1.0

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