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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gdb-6.8/] [gdb/] [testsuite/] [gdb.hp/] [gdb.base-hp/] [so-thresh.sh] - Diff between revs 827 and 840

Only display areas with differences | Details | Blame | View Log

Rev 827 Rev 840
#!/bin/ksh
#!/bin/ksh
 
 
# so-thresh.sh
# so-thresh.sh
#
#
# This script is a "wrapper" to use the so-thresh.mk
# This script is a "wrapper" to use the so-thresh.mk
# Makefile.  See the comments in so-thresh.exp
# Makefile.  See the comments in so-thresh.exp
# regarding why this script exists.
# regarding why this script exists.
 
 
#set -o xtrace
#set -o xtrace
#set -o verbose
#set -o verbose
 
 
if [ "$srcdir" = "${srcdir#/}" ]
if [ "$srcdir" = "${srcdir#/}" ]
then
then
    srcdir="$PWD/$srcdir"
    srcdir="$PWD/$srcdir"
fi
fi
 
 
if [ "$objdir" = "${objdir#/}" ]
if [ "$objdir" = "${objdir#/}" ]
then
then
    objdir="$PWD/$objdir"
    objdir="$PWD/$objdir"
fi
fi
 
 
subdir="$1"
subdir="$1"
 
 
HERE=$PWD
HERE=$PWD
cd $subdir
cd $subdir
 
 
MAKEFLAGS=
MAKEFLAGS=
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
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
STATUS=$?
STATUS=$?
 
 
cd $HERE
cd $HERE
echo "return STATUS is $STATUS"
echo "return STATUS is $STATUS"
 
 
exit $STATUS
exit $STATUS
 
 

powered by: WebSVN 2.1.0

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