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 # Makefile for each steps
2 # Copyright 2006 Yann E. MORIN <yann.morin.1998@anciens.enib.fr>
4 CT_STEPS := libc_check_config \
22 @$(CT_NG) RESTART=$@ STOP=$@ build
24 $(patsubst %,+%,$(CT_STEPS)):
25 @$(CT_NG) STOP=$(patsubst +%,%,$@) build
27 $(patsubst %,%+,$(CT_STEPS)):
28 @$(CT_NG) RESTART=$(patsubst %+,%,$@) build
31 @echo ' liststeps - List all build steps'
34 @echo 'Available build steps, in order:'
35 @for step in $(CT_STEPS); do \