scripts/build/cc/gcc.sh
branchcanadian
changeset 1425 4131f2e955aa
parent 1393 b432bd628b10
child 1479 70a68892831e
     1.1 --- a/scripts/build/cc/gcc.sh	Wed May 27 21:16:01 2009 +0000
     1.2 +++ b/scripts/build/cc/gcc.sh	Fri Jun 26 19:09:22 2009 +0200
     1.3 @@ -41,6 +41,10 @@
     1.4  #------------------------------------------------------------------------------
     1.5  # Core gcc pass 1
     1.6  do_cc_core_pass_1() {
     1.7 +    # If we're building a canadian compiler no use to build the CC
     1.8 +    # core compiler, we're not using it
     1.9 +    [ -n "${CT_CANADIAN}" ] && return 0
    1.10 +
    1.11      # If we're building for bare metal, build the static core gcc,
    1.12      # with libgcc.
    1.13      # In case we're not bare metal, and we're NPTL, build the static core gcc.
    1.14 @@ -54,6 +58,10 @@
    1.15  
    1.16  # Core gcc pass 2
    1.17  do_cc_core_pass_2() {
    1.18 +    # If we're building a canadian compiler no use to build the CC
    1.19 +    # core compiler, we're not using it
    1.20 +    [ -n "${CT_CANADIAN}" ] && return 0
    1.21 +
    1.22      # In case we're building for bare metal, do nothing, we already have
    1.23      # our compiler.
    1.24      # In case we're NPTL, build the shared core gcc and the target libgcc.