From 58337ba708384bdd5d642fb01c3455ce73031119 Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN\"" Date: Sun, 24 Jul 2011 19:33:04 +0200 Subject: cc/gcc: no need to build a static core pass-1 gcc for baremetal The only user of the static core compiler in pass-1 was the newlib C library. Now that it is build in a later step, we do no longer need to build a static core compiler in pass-1. Signed-off-by: "Yann E. MORIN" diff --git a/scripts/build/cc/gcc.sh b/scripts/build/cc/gcc.sh index 77d0b9c..a47bdb2 100644 --- a/scripts/build/cc/gcc.sh +++ b/scripts/build/cc/gcc.sh @@ -64,14 +64,6 @@ do_cc_core_pass_1() { # In case we're not bare metal, and we're NPTL, build the static core gcc. # In any other case, do nothing. case "${CT_BARE_METAL},${CT_CANADIAN},${CT_THREADS}" in - y,*,*) - do_core=y - core_opts+=( "mode=static" ) - core_opts+=( "host=${CT_HOST}" ) - core_opts+=( "complibs=${CT_COMPLIBS_DIR}" ) - core_opts+=( "prefix=${CT_CC_CORE_STATIC_PREFIX_DIR}" ) - core_opts+=( "cflags=${CT_CFLAGS_FOR_HOST}" ) - ;; ,y,*) ;; ,,nptl) @@ -528,9 +520,6 @@ do_cc_backend() { local tmp local arg - # If building for bare metal, nothing to be done here, the static core conpiler is enough! - [ "${CT_BARE_METAL}" = "y" ] && return 0 - CT_DoStep INFO "Installing final compiler" for arg in "$@"; do -- cgit v0.10.2-6-g49f6