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/cc | |
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/cc')
-rw-r--r-- | scripts/build/cc/100-gcc.sh | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/scripts/build/cc/100-gcc.sh b/scripts/build/cc/100-gcc.sh index 359bb157..73781875 100644 --- a/scripts/build/cc/100-gcc.sh +++ b/scripts/build/cc/100-gcc.sh @@ -8,7 +8,8 @@ do_gcc_get() { local linaro_series="" if [ "${CT_CC_GCC_CUSTOM}" = "y" ]; then - CT_GetCustom "gcc" "${CT_CC_GCC_VERSION}" "${CT_CC_GCC_CUSTOM_LOCATION}" + CT_GetCustom "gcc" "${CT_CC_GCC_CUSTOM_VERSION}" \ + "${CT_CC_GCC_CUSTOM_LOCATION}" else # Account for the Linaro versioning linaro_version="$( echo "${CT_CC_GCC_VERSION}" \ @@ -48,12 +49,6 @@ do_gcc_get() { # Extract gcc do_gcc_extract() { - # If using custom directory location, nothing to do - if [ "${CT_CC_GCC_CUSTOM}" = "y" \ - -a -d "${CT_SRC_DIR}/gcc-${CT_CC_GCC_VERSION}" ]; then - return 0 - fi - CT_Extract "gcc-${CT_CC_GCC_VERSION}" CT_Patch "gcc" "${CT_CC_GCC_VERSION}" |