diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2011-07-24 19:33:04 +0200 |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2011-07-24 19:33:04 +0200 |
commit | 58337ba708384bdd5d642fb01c3455ce73031119 (patch) | |
tree | 0cf656f223a17aaec4b65ac69ec020acfd9b42d7 /scripts | |
parent | 70659870b73947273ee646151faa99dfa15beec3 (diff) | |
download | crosstool-ng-58337ba708384bdd5d642fb01c3455ce73031119.tar.gz crosstool-ng-58337ba708384bdd5d642fb01c3455ce73031119.tar.bz2 crosstool-ng-58337ba708384bdd5d642fb01c3455ce73031119.zip |
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')
-rw-r--r-- | scripts/build/cc/gcc.sh | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/scripts/build/cc/gcc.sh b/scripts/build/cc/gcc.sh index 77d0b9c2..a47bdb2d 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 |