1.1 --- a/scripts/build/binutils/binutils.sh Sun May 11 15:43:28 2014 +0200
1.2 +++ b/scripts/build/binutils/binutils.sh Sun May 11 18:42:30 2014 +0200
1.3 @@ -21,14 +21,12 @@
1.4 # Extract binutils
1.5 do_binutils_extract() {
1.6 # If using custom directory location, nothing to do
1.7 - if [ "${CT_BINUTILS_CUSTOM}" = "y" \
1.8 + if ! [ "${CT_BINUTILS_CUSTOM}" = "y" \
1.9 -a -d "${CT_SRC_DIR}/binutils-${CT_BINUTILS_VERSION}" ]; then
1.10 - return 0
1.11 + CT_Extract "binutils-${CT_BINUTILS_VERSION}"
1.12 + CT_Patch "binutils" "${CT_BINUTILS_VERSION}"
1.13 fi
1.14
1.15 - CT_Extract "binutils-${CT_BINUTILS_VERSION}"
1.16 - CT_Patch "binutils" "${CT_BINUTILS_VERSION}"
1.17 -
1.18 if [ -n "${CT_ARCH_BINFMT_FLAT}" ]; then
1.19 CT_Extract "elf2flt-${CT_ELF2FLT_GIT_CSET}"
1.20 CT_Patch "elf2flt" "${CT_ELF2FLT_GIT_CSET}"