OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [bld-all.sh] - Diff between revs 459 and 473

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 459 Rev 473
Line 605... Line 605...
        top_srcdir=$1
        top_srcdir=$1
        shift
        shift
        langs=$1
        langs=$1
        shift
        shift
 
 
        echo "bld-all.sh: gnu_config ${top_builddir} ${top_srcdir} ${langs} $*"
        echo -n "bld-all.sh: gnu_config ${this_prefix} ${top_builddir} "
 
        echo    "${top_srcdir} ${langs} $*"
 
 
        verstr="OpenRISC 32-bit toolchain for ${target} (built `date +%Y%m%d`)"
        verstr="OpenRISC 32-bit toolchain for ${target} (built `date +%Y%m%d`)"
 
 
        mkdir -p ${top_builddir} &&                                   \
        mkdir -p ${top_builddir} &&                                   \
            cd ${top_builddir} &&                                     \
            cd ${top_builddir} &&                                     \
Line 815... Line 816...
 
 
# --force always blows away the link directory. It only blows away build
# --force always blows away the link directory. It only blows away build
# directories we are actually building (see below).
# directories we are actually building (see below).
if [ "true" == "${force_flag}" ]
if [ "true" == "${force_flag}" ]
then
then
    echo -n "bld-all.sh: removing ${unisrc_dir}"
    echo "bld-all.sh: removing ${unisrc_dir}"
    rm -rf ${unisrc_dir}
    rm -rf ${unisrc_dir}
fi
fi
 
 
link_unified
link_unified
 
 
Line 830... Line 831...
    echo "bld-all.sh: or32-elf toolchain"
    echo "bld-all.sh: or32-elf toolchain"
 
 
    # --force only applies to build directories we are using!
    # --force only applies to build directories we are using!
    if [ "true" == "${force_flag}" ]
    if [ "true" == "${force_flag}" ]
    then
    then
        echo -n "bld-all.sh: removing ${bd_elf} ${bd_elf_gdb} "
        echo "bld-all.sh: removing ${bd_elf} ${bd_elf_gdb}"
        rm -rf ${bd_elf} ${bd_elf_gdb}
        rm -rf ${bd_elf} ${bd_elf_gdb}
    fi
    fi
 
 
    # Configure all
    # Configure all
    gnu_config ${config_flag} ${prefix} ${bd_elf} ../${unisrc_dir} \
    gnu_config ${config_flag} ${prefix} ${bd_elf} ../${unisrc_dir} \
Line 868... Line 869...
    echo "bld-all.sh: or32-linux toolchain"
    echo "bld-all.sh: or32-linux toolchain"
 
 
    # --force only applies to build directories we are using!
    # --force only applies to build directories we are using!
    if [ "true" == "${force_flag}" ]
    if [ "true" == "${force_flag}" ]
    then
    then
        echo -n "bld-all.sh: removing ${bd_linux} ${bd_linux_gdb} "
        echo "bld-all.sh: removing ${bd_linux} ${bd_linux_gdb}"
        rm -rf ${bd_linux} ${bd_linux_gdb}
        rm -rf ${bd_linux} ${bd_linux_gdb}
    fi
    fi
 
 
    # Stage 1 binutils/GCC build uses no headers and only C
    # Stage 1 binutils/GCC build uses no headers and only C
    # language. This is just to create the libc headers, which we put in the
    # language. This is just to create the libc headers, which we put in the
Line 920... Line 921...
    # Stage 2 GCC uses the headers installed from stage 1.
    # Stage 2 GCC uses the headers installed from stage 1.
    if [ "true" == "${uclibc_stage2_flag}" ]
    if [ "true" == "${uclibc_stage2_flag}" ]
    then
    then
        echo "bld-all.sh: uClibc GCC stage 2"
        echo "bld-all.sh: uClibc GCC stage 2"
 
 
        # uClibc now supports POSIX threads, but not TLS
        # uClibc now supports POSIX threads, but not TLS. uClibc
 
        # linuxthreads.old is a POSIX98 compliant implementation.
        thread_config="--enable-threads=posix --disable-tls"
        thread_config="--enable-threads=posix --disable-tls"
 
 
        gnu_config ${config_flag} ${prefix} ${bd_linux} ../${unisrc_dir} \
        gnu_config ${config_flag} ${prefix} ${bd_linux} ../${unisrc_dir} \
            "${languages}" \
            "${languages}" \
            "--with-headers=${prefix_tmp}/or32-linux/include ${thread_config}"
            "--with-headers=${prefix_tmp}/or32-linux/include ${thread_config}"

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.