summaryrefslogtreecommitdiff
path: root/steps.mk
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2008-04-28 07:38:36 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2008-04-28 07:38:36 (GMT)
commitdaa31a0c3451ceba81737055ff374b241dc98fcc (patch)
treea8d8903188a19e089fa9c33ef6fb98bbd45ca2cf /steps.mk
parent8b0663d59f6a72359b20b17053fd46d050f71d33 (diff)
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(-)
Diffstat (limited to 'steps.mk')
-rw-r--r--steps.mk29
1 files changed, 16 insertions, 13 deletions
diff --git a/steps.mk b/steps.mk
index f685263..80f80a7 100644
--- a/steps.mk
+++ b/steps.mk
@@ -1,19 +1,22 @@
# Makefile for each steps
# Copyright 2006 Yann E. MORIN <yann.morin.1998@anciens.enib.fr>
-CT_STEPS := 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 \
+CT_STEPS := 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 \
+ binutils_target \
+ tools \
+ debug \
+
+export CT_STEPS
$(CT_STEPS):
@$(CT_NG) RESTART=$@ STOP=$@ build