OpenCores
URL https://opencores.org/ocsvn/hf-risc/hf-risc/trunk

Subversion Repositories hf-risc

[/] [hf-risc/] [trunk/] [tools/] [riscv-gnu-toolchain-master/] [glibc/] [sysdeps/] [riscv/] [preconfigure] - Blame information for rev 13

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 13 serginhofr
case "$machine" in
2
riscv32*)       base_machine=riscv machine=riscv/rv32
3
                machine=$machine/$config_machine
4
                ;;
5
riscv*)
6
                case "$CC $CFLAGS $CPPFLAGS " in
7
                *" -m32 "*) riscv_cc_abi=32 ;;
8
                *" -m64 "*) riscv_cc_abi=64 ;;
9
                *) riscv_cc_abi=default ;;
10
                esac
11
                case $config_os in
12
                *64*) riscv_config_abi=64 ;;
13
                *32*) riscv_config_abi=32 ;;
14
                *) riscv_config_abi=$riscv_cc_abi ;;
15
                esac
16
                case $riscv_config_abi in
17
                default) base_machine=riscv machine=riscv/rv64 ;;
18
                32) base_machine=riscv machine=riscv/rv32 ;;
19
                64) base_machine=riscv machine=riscv/rv64 ;;
20
                esac
21
                machine=$machine/$config_machine
22
                if test $riscv_config_abi != $riscv_cc_abi; then
23
                  # This won't make it to config.make, but we want to
24
                  # set this in case configure tests depend on it.
25
                  CPPFLAGS="$CPPFLAGS -m$riscv_config_abi"
26
                fi
27
                ;;
28
esac

powered by: WebSVN 2.1.0

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