4593
4594
4595
4596
4597
4598
4599
4600
4601
4602
4603
4604
4605
4606
4607 # This line needs to be here, verbatim, after all includes and the dummy hook
4608 # definitions. It is replaced with custom functionality when building
4609 # custom sources.
4610 #CUSTOM_AUTOCONF_INCLUDE
4611
4612 # Do not change or remove the following line, it is needed for consistency checks:
4613 DATE_WHEN_GENERATED=1446762265
4614
4615 ###############################################################################
4616 #
4617 # Initialization / Boot-strapping
4618 #
4619 # The bootstrapping process needs to solve the "chicken or the egg" problem,
4620 # thus it jumps back and forth, each time gaining something needed later on.
4621 #
4622 ###############################################################################
4623
4624 # If we are requested to print additional help, do that and then exit.
4625 # This must be the very first call.
4626
4627 if test "x$CONFIGURE_PRINT_TOOLCHAIN_LIST" != x; then
4628 $PRINTF "The following toolchains are available as arguments to --with-toolchain-type.\n"
4629 $PRINTF "Which are valid to use depends on the build platform.\n"
4630 for toolchain in $VALID_TOOLCHAINS_all; do
4631 # Use indirect variable referencing
4632 toolchain_var_name=TOOLCHAIN_DESCRIPTION_$toolchain
4633 TOOLCHAIN_DESCRIPTION=${!toolchain_var_name}
14572 ;;
14573 aarch64)
14574 VAR_CPU=aarch64
14575 VAR_CPU_ARCH=aarch64
14576 VAR_CPU_BITS=64
14577 VAR_CPU_ENDIAN=little
14578 ;;
14579 powerpc)
14580 VAR_CPU=ppc
14581 VAR_CPU_ARCH=ppc
14582 VAR_CPU_BITS=32
14583 VAR_CPU_ENDIAN=big
14584 ;;
14585 powerpc64)
14586 VAR_CPU=ppc64
14587 VAR_CPU_ARCH=ppc
14588 VAR_CPU_BITS=64
14589 VAR_CPU_ENDIAN=big
14590 ;;
14591 powerpc64le)
14592 VAR_CPU=ppc64
14593 VAR_CPU_ARCH=ppc
14594 VAR_CPU_BITS=64
14595 VAR_CPU_ENDIAN=little
14596 ;;
14597 s390)
14598 VAR_CPU=s390
14599 VAR_CPU_ARCH=s390
14600 VAR_CPU_BITS=32
14601 VAR_CPU_ENDIAN=big
14602 ;;
14603 s390x)
14604 VAR_CPU=s390x
14605 VAR_CPU_ARCH=s390
14606 VAR_CPU_BITS=64
14607 VAR_CPU_ENDIAN=big
14608 ;;
14609 sparc)
14610 VAR_CPU=sparc
14611 VAR_CPU_ARCH=sparc
14612 VAR_CPU_BITS=32
14711 ;;
14712 aarch64)
14713 VAR_CPU=aarch64
14714 VAR_CPU_ARCH=aarch64
14715 VAR_CPU_BITS=64
14716 VAR_CPU_ENDIAN=little
14717 ;;
14718 powerpc)
14719 VAR_CPU=ppc
14720 VAR_CPU_ARCH=ppc
14721 VAR_CPU_BITS=32
14722 VAR_CPU_ENDIAN=big
14723 ;;
14724 powerpc64)
14725 VAR_CPU=ppc64
14726 VAR_CPU_ARCH=ppc
14727 VAR_CPU_BITS=64
14728 VAR_CPU_ENDIAN=big
14729 ;;
14730 powerpc64le)
14731 VAR_CPU=ppc64
14732 VAR_CPU_ARCH=ppc
14733 VAR_CPU_BITS=64
14734 VAR_CPU_ENDIAN=little
14735 ;;
14736 s390)
14737 VAR_CPU=s390
14738 VAR_CPU_ARCH=s390
14739 VAR_CPU_BITS=32
14740 VAR_CPU_ENDIAN=big
14741 ;;
14742 s390x)
14743 VAR_CPU=s390x
14744 VAR_CPU_ARCH=s390
14745 VAR_CPU_BITS=64
14746 VAR_CPU_ENDIAN=big
14747 ;;
14748 sparc)
14749 VAR_CPU=sparc
14750 VAR_CPU_ARCH=sparc
14751 VAR_CPU_BITS=32
|
4593
4594
4595
4596
4597
4598
4599
4600
4601
4602
4603
4604
4605
4606
4607 # This line needs to be here, verbatim, after all includes and the dummy hook
4608 # definitions. It is replaced with custom functionality when building
4609 # custom sources.
4610 #CUSTOM_AUTOCONF_INCLUDE
4611
4612 # Do not change or remove the following line, it is needed for consistency checks:
4613 DATE_WHEN_GENERATED=1448928298
4614
4615 ###############################################################################
4616 #
4617 # Initialization / Boot-strapping
4618 #
4619 # The bootstrapping process needs to solve the "chicken or the egg" problem,
4620 # thus it jumps back and forth, each time gaining something needed later on.
4621 #
4622 ###############################################################################
4623
4624 # If we are requested to print additional help, do that and then exit.
4625 # This must be the very first call.
4626
4627 if test "x$CONFIGURE_PRINT_TOOLCHAIN_LIST" != x; then
4628 $PRINTF "The following toolchains are available as arguments to --with-toolchain-type.\n"
4629 $PRINTF "Which are valid to use depends on the build platform.\n"
4630 for toolchain in $VALID_TOOLCHAINS_all; do
4631 # Use indirect variable referencing
4632 toolchain_var_name=TOOLCHAIN_DESCRIPTION_$toolchain
4633 TOOLCHAIN_DESCRIPTION=${!toolchain_var_name}
14572 ;;
14573 aarch64)
14574 VAR_CPU=aarch64
14575 VAR_CPU_ARCH=aarch64
14576 VAR_CPU_BITS=64
14577 VAR_CPU_ENDIAN=little
14578 ;;
14579 powerpc)
14580 VAR_CPU=ppc
14581 VAR_CPU_ARCH=ppc
14582 VAR_CPU_BITS=32
14583 VAR_CPU_ENDIAN=big
14584 ;;
14585 powerpc64)
14586 VAR_CPU=ppc64
14587 VAR_CPU_ARCH=ppc
14588 VAR_CPU_BITS=64
14589 VAR_CPU_ENDIAN=big
14590 ;;
14591 powerpc64le)
14592 VAR_CPU=ppc64le
14593 VAR_CPU_ARCH=ppc
14594 VAR_CPU_BITS=64
14595 VAR_CPU_ENDIAN=little
14596 ;;
14597 s390)
14598 VAR_CPU=s390
14599 VAR_CPU_ARCH=s390
14600 VAR_CPU_BITS=32
14601 VAR_CPU_ENDIAN=big
14602 ;;
14603 s390x)
14604 VAR_CPU=s390x
14605 VAR_CPU_ARCH=s390
14606 VAR_CPU_BITS=64
14607 VAR_CPU_ENDIAN=big
14608 ;;
14609 sparc)
14610 VAR_CPU=sparc
14611 VAR_CPU_ARCH=sparc
14612 VAR_CPU_BITS=32
14711 ;;
14712 aarch64)
14713 VAR_CPU=aarch64
14714 VAR_CPU_ARCH=aarch64
14715 VAR_CPU_BITS=64
14716 VAR_CPU_ENDIAN=little
14717 ;;
14718 powerpc)
14719 VAR_CPU=ppc
14720 VAR_CPU_ARCH=ppc
14721 VAR_CPU_BITS=32
14722 VAR_CPU_ENDIAN=big
14723 ;;
14724 powerpc64)
14725 VAR_CPU=ppc64
14726 VAR_CPU_ARCH=ppc
14727 VAR_CPU_BITS=64
14728 VAR_CPU_ENDIAN=big
14729 ;;
14730 powerpc64le)
14731 VAR_CPU=ppc64le
14732 VAR_CPU_ARCH=ppc
14733 VAR_CPU_BITS=64
14734 VAR_CPU_ENDIAN=little
14735 ;;
14736 s390)
14737 VAR_CPU=s390
14738 VAR_CPU_ARCH=s390
14739 VAR_CPU_BITS=32
14740 VAR_CPU_ENDIAN=big
14741 ;;
14742 s390x)
14743 VAR_CPU=s390x
14744 VAR_CPU_ARCH=s390
14745 VAR_CPU_BITS=64
14746 VAR_CPU_ENDIAN=big
14747 ;;
14748 sparc)
14749 VAR_CPU=sparc
14750 VAR_CPU_ARCH=sparc
14751 VAR_CPU_BITS=32
|