From ca9b92d3f126d43242020210df49ee0972eca56c Mon Sep 17 00:00:00 2001 From: Adam Greene Date: Fri, 5 May 2017 15:07:38 -0400 Subject: [PATCH] Updates --- activate-musl-toolchain.env | 4 +++- activate-openwrt-toolchain.env | 3 +++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/activate-musl-toolchain.env b/activate-musl-toolchain.env index 9c9e7b7..e0d35a2 100644 --- a/activate-musl-toolchain.env +++ b/activate-musl-toolchain.env @@ -24,6 +24,8 @@ CURDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" TOOLCHAIN_TARGET="$(basename $(echo $CURDIR/*-*-musl*))" TOOLCHAIN_ROOT="$CURDIR" +# Commonly used/needed static libraries, put them in the +# environment for easy access UTIL_STATIC=$(find $(realpath $CURDIR) -name libutil.a) C_STATIC=$(find $(realpath $CURDIR) -name libc.a) DL_STATIC=$(find $(realpath $CURDIR) -name libdl.a) @@ -91,4 +93,4 @@ export STDCXX_STATIC export GCCEH_STATIC export TOOLCHAIN_TARGET export TOOLCHAIN_ROOT -export TOOLCHAIN_BIN \ No newline at end of file +export TOOLCHAIN_BIN diff --git a/activate-openwrt-toolchain.env b/activate-openwrt-toolchain.env index 0c5f7b0..6e7561c 100644 --- a/activate-openwrt-toolchain.env +++ b/activate-openwrt-toolchain.env @@ -33,6 +33,9 @@ CURDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" source "$CURDIR/info.mk" TOOLCHAIN_TARGET="$TARGET_CROSS" TOOLCHAIN_ROOT="$CURDIR" + +# Commonly used/needed static libraries, put them in the +# environment for easy access UTIL_STATIC=$(find $(realpath $CURDIR) -name libutil.a) C_STATIC=$(find $(realpath $CURDIR) -name libc.a) DL_STATIC=$(find $(realpath $CURDIR) -name libdl.a)