diff options
author | Bryan Hundven <bryanhundven@gmail.com> | 2015-11-26 05:06:21 -0800 |
---|---|---|
committer | Bryan Hundven <bryanhundven@gmail.com> | 2015-12-08 10:55:13 -0800 |
commit | 4e2227e8a5537a8553c503e55d2cb2190f2a0d2f (patch) | |
tree | 051e239d76d8bc60062efdbc3ecee9338a740fbc /scripts/build/libc/newlib.sh | |
parent | 1b3131448809f05d47cd50a98ede0d1b78eb85f0 (diff) | |
download | crosstool-ng-4e2227e8a5537a8553c503e55d2cb2190f2a0d2f.tar.gz crosstool-ng-4e2227e8a5537a8553c503e55d2cb2190f2a0d2f.tar.bz2 crosstool-ng-4e2227e8a5537a8553c503e55d2cb2190f2a0d2f.zip |
scripts: Update usage of CT_GetCustom
This commit updates the build scripts to match the new usage of
CT_GetCustom from the previous change.
Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
Diffstat (limited to 'scripts/build/libc/newlib.sh')
-rw-r--r-- | scripts/build/libc/newlib.sh | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/scripts/build/libc/newlib.sh b/scripts/build/libc/newlib.sh index a4fe82e2..ba52268e 100644 --- a/scripts/build/libc/newlib.sh +++ b/scripts/build/libc/newlib.sh @@ -14,8 +14,8 @@ do_libc_get() { ftp://sourceware.org/pub/newlib}" if [ "${CT_LIBC_NEWLIB_CUSTOM}" = "y" ]; then - CT_GetCustom "newlib" "${CT_LIBC_VERSION}" \ - "${CT_LIBC_NEWLIB_CUSTOM_LOCATION}" + CT_GetCustom "newlib" "${CT_LIBC_NEWLIB_CUSTOM_VERSION}" \ + "${CT_LIBC_NEWLIB_CUSTOM_LOCATION}" else # ! custom location if echo ${CT_LIBC_VERSION} |${grep} -q linaro; then YYMM=`echo ${CT_LIBC_VERSION} |cut -d- -f3 |${sed} -e 's,^..,,'` @@ -30,12 +30,6 @@ do_libc_get() { } do_libc_extract() { - # If using custom directory location, nothing to do - if [ "${CT_LIBC_NEWLIB_CUSTOM}" = "y" \ - -a -d "${CT_SRC_DIR}/newlib-${CT_LIBC_VERSION}" ]; then - return 0 - fi - CT_Extract "newlib-${CT_LIBC_VERSION}" CT_Patch "newlib" "${CT_LIBC_VERSION}" |