4376 # the set env variables into the spec file.
4377
4378
4379
4380
4381
4382
4383
4384
4385
4386
4387
4388
4389
4390 # This line needs to be here, verbatim, after all includes and the dummy hook
4391 # definitions. It is replaced with custom functionality when building
4392 # custom sources.
4393 #CUSTOM_AUTOCONF_INCLUDE
4394
4395 # Do not change or remove the following line, it is needed for consistency checks:
4396 DATE_WHEN_GENERATED=1424202275
4397
4398 ###############################################################################
4399 #
4400 # Initialization / Boot-strapping
4401 #
4402 # The bootstrapping process needs to solve the "chicken or the egg" problem,
4403 # thus it jumps back and forth, each time gaining something needed later on.
4404 #
4405 ###############################################################################
4406
4407 # If we are requested to print additional help, do that and then exit.
4408 # This must be the very first call.
4409
4410 if test "x$CONFIGURE_PRINT_TOOLCHAIN_LIST" != x; then
4411 $PRINTF "The following toolchains are available as arguments to --with-toolchain-type.\n"
4412 $PRINTF "Which are valid to use depends on the build platform.\n"
4413 for toolchain in $VALID_TOOLCHAINS_all; do
4414 # Use indirect variable referencing
4415 toolchain_var_name=TOOLCHAIN_DESCRIPTION_$toolchain
4416 TOOLCHAIN_DESCRIPTION=${!toolchain_var_name}
13641 ;;
13642 arm*)
13643 VAR_CPU=arm
13644 VAR_CPU_ARCH=arm
13645 VAR_CPU_BITS=32
13646 VAR_CPU_ENDIAN=little
13647 ;;
13648 powerpc)
13649 VAR_CPU=ppc
13650 VAR_CPU_ARCH=ppc
13651 VAR_CPU_BITS=32
13652 VAR_CPU_ENDIAN=big
13653 ;;
13654 powerpc64)
13655 VAR_CPU=ppc64
13656 VAR_CPU_ARCH=ppc
13657 VAR_CPU_BITS=64
13658 VAR_CPU_ENDIAN=big
13659 ;;
13660 powerpc64le)
13661 VAR_CPU=ppc64
13662 VAR_CPU_ARCH=ppc
13663 VAR_CPU_BITS=64
13664 VAR_CPU_ENDIAN=little
13665 ;;
13666 s390)
13667 VAR_CPU=s390
13668 VAR_CPU_ARCH=s390
13669 VAR_CPU_BITS=32
13670 VAR_CPU_ENDIAN=big
13671 ;;
13672 s390x)
13673 VAR_CPU=s390x
13674 VAR_CPU_ARCH=s390
13675 VAR_CPU_BITS=64
13676 VAR_CPU_ENDIAN=big
13677 ;;
13678 sparc)
13679 VAR_CPU=sparc
13680 VAR_CPU_ARCH=sparc
13681 VAR_CPU_BITS=32
13774 ;;
13775 arm*)
13776 VAR_CPU=arm
13777 VAR_CPU_ARCH=arm
13778 VAR_CPU_BITS=32
13779 VAR_CPU_ENDIAN=little
13780 ;;
13781 powerpc)
13782 VAR_CPU=ppc
13783 VAR_CPU_ARCH=ppc
13784 VAR_CPU_BITS=32
13785 VAR_CPU_ENDIAN=big
13786 ;;
13787 powerpc64)
13788 VAR_CPU=ppc64
13789 VAR_CPU_ARCH=ppc
13790 VAR_CPU_BITS=64
13791 VAR_CPU_ENDIAN=big
13792 ;;
13793 powerpc64le)
13794 VAR_CPU=ppc64
13795 VAR_CPU_ARCH=ppc
13796 VAR_CPU_BITS=64
13797 VAR_CPU_ENDIAN=little
13798 ;;
13799 s390)
13800 VAR_CPU=s390
13801 VAR_CPU_ARCH=s390
13802 VAR_CPU_BITS=32
13803 VAR_CPU_ENDIAN=big
13804 ;;
13805 s390x)
13806 VAR_CPU=s390x
13807 VAR_CPU_ARCH=s390
13808 VAR_CPU_BITS=64
13809 VAR_CPU_ENDIAN=big
13810 ;;
13811 sparc)
13812 VAR_CPU=sparc
13813 VAR_CPU_ARCH=sparc
13814 VAR_CPU_BITS=32
|
4376 # the set env variables into the spec file.
4377
4378
4379
4380
4381
4382
4383
4384
4385
4386
4387
4388
4389
4390 # This line needs to be here, verbatim, after all includes and the dummy hook
4391 # definitions. It is replaced with custom functionality when building
4392 # custom sources.
4393 #CUSTOM_AUTOCONF_INCLUDE
4394
4395 # Do not change or remove the following line, it is needed for consistency checks:
4396 DATE_WHEN_GENERATED=1424871726
4397
4398 ###############################################################################
4399 #
4400 # Initialization / Boot-strapping
4401 #
4402 # The bootstrapping process needs to solve the "chicken or the egg" problem,
4403 # thus it jumps back and forth, each time gaining something needed later on.
4404 #
4405 ###############################################################################
4406
4407 # If we are requested to print additional help, do that and then exit.
4408 # This must be the very first call.
4409
4410 if test "x$CONFIGURE_PRINT_TOOLCHAIN_LIST" != x; then
4411 $PRINTF "The following toolchains are available as arguments to --with-toolchain-type.\n"
4412 $PRINTF "Which are valid to use depends on the build platform.\n"
4413 for toolchain in $VALID_TOOLCHAINS_all; do
4414 # Use indirect variable referencing
4415 toolchain_var_name=TOOLCHAIN_DESCRIPTION_$toolchain
4416 TOOLCHAIN_DESCRIPTION=${!toolchain_var_name}
13641 ;;
13642 arm*)
13643 VAR_CPU=arm
13644 VAR_CPU_ARCH=arm
13645 VAR_CPU_BITS=32
13646 VAR_CPU_ENDIAN=little
13647 ;;
13648 powerpc)
13649 VAR_CPU=ppc
13650 VAR_CPU_ARCH=ppc
13651 VAR_CPU_BITS=32
13652 VAR_CPU_ENDIAN=big
13653 ;;
13654 powerpc64)
13655 VAR_CPU=ppc64
13656 VAR_CPU_ARCH=ppc
13657 VAR_CPU_BITS=64
13658 VAR_CPU_ENDIAN=big
13659 ;;
13660 powerpc64le)
13661 VAR_CPU=ppc64le
13662 VAR_CPU_ARCH=ppc
13663 VAR_CPU_BITS=64
13664 VAR_CPU_ENDIAN=little
13665 ;;
13666 s390)
13667 VAR_CPU=s390
13668 VAR_CPU_ARCH=s390
13669 VAR_CPU_BITS=32
13670 VAR_CPU_ENDIAN=big
13671 ;;
13672 s390x)
13673 VAR_CPU=s390x
13674 VAR_CPU_ARCH=s390
13675 VAR_CPU_BITS=64
13676 VAR_CPU_ENDIAN=big
13677 ;;
13678 sparc)
13679 VAR_CPU=sparc
13680 VAR_CPU_ARCH=sparc
13681 VAR_CPU_BITS=32
13774 ;;
13775 arm*)
13776 VAR_CPU=arm
13777 VAR_CPU_ARCH=arm
13778 VAR_CPU_BITS=32
13779 VAR_CPU_ENDIAN=little
13780 ;;
13781 powerpc)
13782 VAR_CPU=ppc
13783 VAR_CPU_ARCH=ppc
13784 VAR_CPU_BITS=32
13785 VAR_CPU_ENDIAN=big
13786 ;;
13787 powerpc64)
13788 VAR_CPU=ppc64
13789 VAR_CPU_ARCH=ppc
13790 VAR_CPU_BITS=64
13791 VAR_CPU_ENDIAN=big
13792 ;;
13793 powerpc64le)
13794 VAR_CPU=ppc64le
13795 VAR_CPU_ARCH=ppc
13796 VAR_CPU_BITS=64
13797 VAR_CPU_ENDIAN=little
13798 ;;
13799 s390)
13800 VAR_CPU=s390
13801 VAR_CPU_ARCH=s390
13802 VAR_CPU_BITS=32
13803 VAR_CPU_ENDIAN=big
13804 ;;
13805 s390x)
13806 VAR_CPU=s390x
13807 VAR_CPU_ARCH=s390
13808 VAR_CPU_BITS=64
13809 VAR_CPU_ENDIAN=big
13810 ;;
13811 sparc)
13812 VAR_CPU=sparc
13813 VAR_CPU_ARCH=sparc
13814 VAR_CPU_BITS=32
|