URL
https://opencores.org/ocsvn/or1k/or1k/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 107 |
Rev 1765 |
#!/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
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.