summaryrefslogtreecommitdiff
path: root/steps.mk
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2012-01-03 21:57:25 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2012-01-03 21:57:25 (GMT)
commitd7761401893497081a3d3542155d0a512a31ef86 (patch)
tree321e01e18920e4ec945ec877a38638cd3f19d5ba /steps.mk
parentb485733f263b6dafdb691fe877bce5c1135ea7c0 (diff)
cc/gcc: build core compilers for canadian
Currently, we rely on an existing external cross-compiler targetting the target, to build the C library. This can pause quite a few problems if that compiler is different from the one we are building, because it could introduce some ABI issues. This patch removes this dependency, by building the core compilers as we do for standard cross, and also by building the binutils and gcc, for running on the build machine. This means we no longer need to offer the cross-sompiler selection in the menuconfig. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Diffstat (limited to 'steps.mk')
-rw-r--r--steps.mk14
1 files changed, 14 insertions, 0 deletions
diff --git a/steps.mk b/steps.mk
index 9822c95..4849898 100644
--- a/steps.mk
+++ b/steps.mk
@@ -14,9 +14,19 @@ help-env::
# ----------------------------------------------------------
# The steps list
+# The _for_build steps are noop for native and cross,
+# but are actual steps for canadian and cross-native.
# Please keep the last line with a '\' and keep the following empy line:
# it helps when diffing and merging.
CT_STEPS := libc_check_config \
+ gmp_for_build \
+ mpfr_for_build \
+ ppl_for_build \
+ cloog_for_build \
+ mpc_for_build \
+ libelf_for_build \
+ binutils_for_build \
+ elf2flt_for_build \
gmp_for_host \
mpfr_for_host \
ppl_for_host \
@@ -31,6 +41,7 @@ CT_STEPS := libc_check_config \
libc_start_files \
cc_core_pass_2 \
libc \
+ cc_for_build \
cc_for_host \
libc_finish \
libelf_for_target \
@@ -39,6 +50,9 @@ CT_STEPS := libc_check_config \
test_suite \
finish \
+# Keep an empty line above this comment, so the last
+# back-slash terminated line works as expected.
+
# Make the list available to sub-processes (scripts/crosstool-NG.sh needs it)
export CT_STEPS