Building target libraries before the cross-compiler is available is doomed! Move build binutils' target libraries after final gcc.
Have a unique list of steps, it's easier to maintain.
/trunk/scripts/build/binutils.sh | 8 5 3 0 +++++---
/trunk/scripts/crosstool.sh | 16 2 14 0 ++--------------
/trunk/steps.mk | 29 16 13 0 ++++++++++++++++-------------
3 files changed, 23 insertions(+), 30 deletions(-)
1 # Wrapper to build the debug facilities
3 # List all debug facilities, and parse their scripts
4 CT_DEBUG_FACILITY_LIST=
5 for f in "${CT_LIB_DIR}/scripts/build/debug/"*.sh; do
8 f=`basename "${f}" .sh`
9 if [ "${is_enabled}" = "y" ]; then
10 CT_DEBUG_FACILITY_LIST="${CT_DEBUG_FACILITY_LIST} ${f}"
14 # Download the debug facilities
16 for f in ${CT_DEBUG_FACILITY_LIST}; do
21 # Extract and patch the debug facilities
23 for f in ${CT_DEBUG_FACILITY_LIST}; do
28 # Build the debug facilities
30 for f in ${CT_DEBUG_FACILITY_LIST}; do