mirror of
https://github.com/stayliv3/gdb-static-cross.git
synced 2024-11-15 04:10:57 +08:00
Removed args in lieu of defaults
This commit is contained in:
parent
b6e692dbbe
commit
ed6d93af29
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user