diff -r 464128a8fc3f -r 42590ff8521c scripts/build/binutils/binutils.sh --- a/scripts/build/binutils/binutils.sh Sun May 11 15:43:28 2014 +0200 +++ b/scripts/build/binutils/binutils.sh Sun May 11 18:42:30 2014 +0200 @@ -21,14 +21,12 @@ # Extract binutils do_binutils_extract() { # If using custom directory location, nothing to do - if [ "${CT_BINUTILS_CUSTOM}" = "y" \ + if ! [ "${CT_BINUTILS_CUSTOM}" = "y" \ -a -d "${CT_SRC_DIR}/binutils-${CT_BINUTILS_VERSION}" ]; then - return 0 + CT_Extract "binutils-${CT_BINUTILS_VERSION}" + CT_Patch "binutils" "${CT_BINUTILS_VERSION}" fi - CT_Extract "binutils-${CT_BINUTILS_VERSION}" - CT_Patch "binutils" "${CT_BINUTILS_VERSION}" - if [ -n "${CT_ARCH_BINFMT_FLAT}" ]; then CT_Extract "elf2flt-${CT_ELF2FLT_GIT_CSET}" CT_Patch "elf2flt" "${CT_ELF2FLT_GIT_CSET}"