Changeset 89ddac0


Ignore:
Timestamp:
08/05/2006 11:41:45 AM (18 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
Branches:
experimental
Children:
056486c
Parents:
3ba96f2
Message:

Ported r2879 from trunk.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • HLFS/master.sh

    r3ba96f2 r89ddac0  
    1717  echo "${tab_}${tab_}${GREEN}toolchain ${L_arrow}${toolchain}${R_arrow}"
    1818
     19  #
     20  # Safe method to remove existing toolchain dirs
     21  pkg_tarball=$(get_package_tarball_name "binutils")
     22  wrt_remove_existing_dirs  "$pkg_tarball"
     23  pkg_tarball=$(get_package_tarball_name "gcc-core")
     24  wrt_remove_existing_dirs  "$pkg_tarball"
     25  #
     26  # Manually remove the toolchain directories..
     27  tc_phase=`echo $toolchain | sed -e 's@[0-9]\{3\}-@@' -e 's@-toolchain@@'`
     28(
     29cat << EOF
     30        @rm -rf \$(MOUNT_PT)\$(SRC)/${tc_phase}-toolchain && \\
     31        rm  -rf \$(MOUNT_PT)\$(SRC)/${tc_phase}-build
     32EOF
     33) >> $MKFILE.tmp
     34
    1935  case ${toolchain} in
    2036    *butterfly*)
    21       [[ "$TEST" != "0" ]] && wrt_test_log2 "${this_script}"
    2237(
    2338cat << EOF
     
    2540EOF
    2641) >> $MKFILE.tmp
     42      [[ "$TEST" != "0" ]] && wrt_test_log2 "${this_script}"
    2743      wrt_run_as_chroot1 "$toolchain" "$this_script"
    2844      ;;
     
    318334        glibc ) [[ "$TEST" != "0" ]] && wrt_test_log2 "${this_script}"
    319335          ;;
    320             * ) [[ "$TEST"  = "2" ]] && [[ "$TEST"  = "3" ]] && wrt_test_log2 "${this_script}"
     336            * ) [[ "$TEST" > "1" ]] && wrt_test_log2 "${this_script}"
    321337          ;;
    322338      esac
Note: See TracChangeset for help on using the changeset viewer.