Changeset 59d469b in mainline


Ignore:
Timestamp:
2023-10-24T17:40:08Z (13 months ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Branches:
master, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
4792e74
Parents:
85b41bc
git-author:
Jiří Zárevúcky <zarevucky.jiri@…> (2023-10-24 17:21:31)
git-committer:
Jiří Zárevúcky <zarevucky.jiri@…> (2023-10-24 17:40:08)
Message:

toolchain.sh: two more issues

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/toolchain.sh

    r85b41bc r59d469b  
    364364        mkdir -p "${WORKDIR}"
    365365
    366         echo ">>> Processing binutils (${PLATFORM})"
     366        echo ">>> Processing binutils (${TARGET})"
    367367        mkdir -p "${BINUTILSDIR}"
    368368        cd "${BINUTILSDIR}"
    369369        check_error $? "Change directory failed."
    370370
    371         change_title "binutils: configure (${PLATFORM})"
     371        change_title "binutils: configure (${TARGET})"
    372372        CFLAGS="-Wno-error -fcommon" "${BASEDIR}/downloads/binutils-${BINUTILS_VERSION}/configure" \
    373373                "--target=${TARGET}" \
     
    382382        check_error $? "Error configuring binutils."
    383383
    384         change_title "binutils: make (${PLATFORM})"
     384        change_title "binutils: make (${TARGET})"
    385385        make all -j$JOBS
    386386        check_error $? "Error compiling binutils."
    387387
    388         change_title "binutils: install (${PLATFORM})"
     388        change_title "binutils: install (${TARGET})"
    389389        make install $DESTDIR_SPEC
    390390        check_error $? "Error installing binutils."
     
    402402        mkdir -p "${WORKDIR}"
    403403
    404         echo ">>> Processing GCC (${PLATFORM})"
     404        echo ">>> Processing GCC (${TARGET})"
    405405        mkdir -p "${GCCDIR}"
    406406        cd "${GCCDIR}"
     
    409409        BUILDPATH="${CROSS_PREFIX}/bin:${PATH}"
    410410
    411         change_title "GCC: configure (${PLATFORM})"
     411        change_title "GCC: configure (${TARGET})"
    412412        PATH="${BUILDPATH}" "${BASEDIR}/downloads/gcc-${GCC_VERSION}/configure" \
    413413                "--target=${TARGET}" \
     
    424424        check_error $? "Error configuring GCC."
    425425
    426         change_title "GCC: make (${PLATFORM})"
     426        change_title "GCC: make (${TARGET})"
    427427        PATH="${BUILDPATH}" make all-gcc -j$JOBS
    428428        check_error $? "Error compiling GCC."
    429429
    430         change_title "GCC: install (${PLATFORM})"
     430        change_title "GCC: install (${TARGET})"
    431431        PATH="${BUILDPATH}" make install-gcc $DESTDIR_SPEC
    432432        check_error $? "Error installing GCC."
     
    447447        BUILDPATH="${CROSS_PREFIX}/bin:${PATH}"
    448448
    449         change_title "libgcc: make (${PLATFORM})"
     449        change_title "libgcc: make (${TARGET})"
    450450
    451451        PATH="${BUILDPATH}" make all-target-libgcc -j$JOBS
     
    457457        #    check_error $? "Error compiling libstdc++."
    458458
    459         change_title "libgcc: install (${PLATFORM})"
     459        change_title "libgcc: install (${TARGET})"
    460460
    461461        PATH="${BUILDPATH}" make install-target-libgcc $DESTDIR_SPEC
     
    476476        mkdir -p "${WORKDIR}"
    477477
    478         echo ">>> Processing GDB (${PLATFORM})"
     478        echo ">>> Processing GDB (${TARGET})"
    479479        mkdir -p "${GDBDIR}"
    480480        cd "${GDBDIR}"
    481481        check_error $? "Change directory failed."
    482482
    483         change_title "GDB: configure (${PLATFORM})"
     483        change_title "GDB: configure (${TARGET})"
    484484        CFLAGS="-fcommon" "${BASEDIR}/downloads/gdb-${GDB_VERSION}/configure" \
    485485                "--target=${TARGET}" \
     
    489489        check_error $? "Error configuring GDB."
    490490
    491         change_title "GDB: make (${PLATFORM})"
     491        change_title "GDB: make (${TARGET})"
    492492        make all-gdb -j$JOBS
    493493        check_error $? "Error compiling GDB."
    494494
    495         change_title "GDB: install (${PLATFORM})"
     495        change_title "GDB: install (${TARGET})"
    496496        make install-gdb $DESTDIR_SPEC
    497497        check_error $? "Error installing GDB."
     
    610610                install_pkg
    611611
    612                 for x in $PLATFORMS ; do
    613                         build_libgcc $x
    614                 done
     612                $RUNNER build_libgcc
    615613        fi
    616614
Note: See TracChangeset for help on using the changeset viewer.