Removed args in lieu of defaults

This commit is contained in:
Adam Greene 2017-05-05 12:22:57 -04:00
parent b6e692dbbe
commit ed6d93af29

View File

@ -15,9 +15,19 @@
# Example that works with HNDTOOLS from NETGEAR:
# $ source activate-generic.env /opt/brcm/mipsel-uclibc libc
#
CURDIR="$1"
TOOLCHAIN_TARGET="$(basename $(echo $CURDIR/*-*-${2}*))"
#
# Alternately, set CURDIR to the path to the toolchain root
# Using the existing CURDIR trick lets you put the file in the
# root and have it "detect" the root for you
# CURDIR="$1"
#
# This pattern should work fine, it is just use to pick up the
# full name of the toolchain, i.e. mips-linux-uclibc. You can
# make it more specific if you want to.
#
LIBC_PATTERN=libc
CURDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
TOOLCHAIN_TARGET="$(basename $(echo $CURDIR/*-*-${LIBC_PATTERN}*))"
TOOLCHAIN_ROOT="$CURDIR"
UTIL_STATIC=$(find $(realpath $CURDIR) -name libutil.a)