summaryrefslogtreecommitdiff
path: root/scripts/build/cc/gcc.sh
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2011-07-24 17:33:04 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2011-07-24 17:33:04 (GMT)
commit58337ba708384bdd5d642fb01c3455ce73031119 (patch)
tree0cf656f223a17aaec4b65ac69ec020acfd9b42d7 /scripts/build/cc/gcc.sh
parent70659870b73947273ee646151faa99dfa15beec3 (diff)
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" <yann.morin.1998@anciens.enib.fr>
Diffstat (limited to 'scripts/build/cc/gcc.sh')
-rw-r--r--scripts/build/cc/gcc.sh11
1 files changed, 0 insertions, 11 deletions
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