diff options
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/build/binutils.sh | 8 | ||||
-rwxr-xr-x | scripts/crosstool.sh | 16 |
2 files changed, 7 insertions, 17 deletions
diff --git a/scripts/build/binutils.sh b/scripts/build/binutils.sh index b34d7095..ec39b2eb 100644 --- a/scripts/build/binutils.sh +++ b/scripts/build/binutils.sh @@ -57,7 +57,11 @@ do_binutils() { ln -sv "${CT_PREFIX_DIR}/bin/${CT_TARGET}-${t}" "${CT_CC_CORE_SHARED_PREFIX_DIR}/bin/${CT_TARGET}-${t}" done |CT_DoLog ALL - # Now on for the target libraries + CT_EndStep +} + +# Now on for the target libraries +do_binutils_target() { targets= [ "${CT_BINUTILS_FOR_TARGET_IBERTY}" = "y" ] && targets="${build_targets} libiberty" [ "${CT_BINUTILS_FOR_TARGET_BFD}" = "y" ] && targets="${build_targets} bfd" @@ -88,6 +92,4 @@ do_binutils() { CT_Popd CT_EndStep fi - - CT_EndStep } diff --git a/scripts/crosstool.sh b/scripts/crosstool.sh index ec1c2b50..3027f1c3 100755 --- a/scripts/crosstool.sh +++ b/scripts/crosstool.sh @@ -455,20 +455,8 @@ if [ "${CT_ONLY_DOWNLOAD}" != "y" -a "${CT_ONLY_EXTRACT}" != "y" ]; then do_stop=0 prev_step= [ -n "${CT_RESTART}" ] && do_it=0 || do_it=1 - for step in libc_check_config \ - kernel_check_config \ - kernel_headers \ - binutils \ - cc_core_pass_1 \ - libc_headers \ - libc_start_files \ - cc_core_pass_2 \ - libc \ - cc \ - libc_finish \ - tools \ - debug \ - ; do + # CT_STEPS comes from steps.mk! + for step in ${CT_STEPS}; do if [ ${do_it} -eq 0 ]; then if [ "${CT_RESTART}" = "${step}" ]; then CT_DoLoadState "${step}" |