Split target/Config.in.arch into multiple Config.in.* in arch/
target/Config.in.arch had become too long, and we want to remove the
target/ directory. So let's move it to arch/ and split it this way:
* An initial Config.in that lists the top-level architecture, and
sources the arch-specific Config.in.<arch> files, as well as
Config.in.common (see below)
* One Config.in.<arch> per architecture, listing the CPU families,
ABI choices, etc.
* One Config.in.common that defines the gcc mtune, march, mcpu values
and other hidden options.
[Peter: space->tab fix, mipsel64 little endian, mips3 as noted by Arnout]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-11-03 09:27:59 +01:00
|
|
|
choice
|
|
|
|
prompt "Target Architecture Variant"
|
|
|
|
depends on BR2_powerpc
|
|
|
|
default BR2_generic_powerpc
|
|
|
|
help
|
|
|
|
Specific CPU variant to use
|
|
|
|
config BR2_generic_powerpc
|
|
|
|
bool "generic"
|
|
|
|
config BR2_powerpc_401
|
|
|
|
bool "401"
|
|
|
|
config BR2_powerpc_403
|
|
|
|
bool "403"
|
|
|
|
config BR2_powerpc_405
|
|
|
|
bool "405"
|
|
|
|
config BR2_powerpc_405fp
|
|
|
|
bool "405 with FPU"
|
|
|
|
config BR2_powerpc_440
|
|
|
|
bool "440"
|
|
|
|
config BR2_powerpc_440fp
|
|
|
|
bool "440 with FPU"
|
2012-12-09 12:54:02 +01:00
|
|
|
config BR2_powerpc_464
|
|
|
|
bool "464"
|
|
|
|
config BR2_powerpc_464fp
|
|
|
|
bool "464 with FPU"
|
|
|
|
config BR2_powerpc_476
|
|
|
|
bool "476"
|
|
|
|
config BR2_powerpc_476fp
|
|
|
|
bool "476 with FPU"
|
Split target/Config.in.arch into multiple Config.in.* in arch/
target/Config.in.arch had become too long, and we want to remove the
target/ directory. So let's move it to arch/ and split it this way:
* An initial Config.in that lists the top-level architecture, and
sources the arch-specific Config.in.<arch> files, as well as
Config.in.common (see below)
* One Config.in.<arch> per architecture, listing the CPU families,
ABI choices, etc.
* One Config.in.common that defines the gcc mtune, march, mcpu values
and other hidden options.
[Peter: space->tab fix, mipsel64 little endian, mips3 as noted by Arnout]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-11-03 09:27:59 +01:00
|
|
|
config BR2_powerpc_505
|
|
|
|
bool "505"
|
|
|
|
config BR2_powerpc_601
|
|
|
|
bool "601"
|
|
|
|
config BR2_powerpc_602
|
|
|
|
bool "602"
|
|
|
|
config BR2_powerpc_603
|
|
|
|
bool "603"
|
|
|
|
config BR2_powerpc_603e
|
|
|
|
bool "603e"
|
|
|
|
config BR2_powerpc_604
|
|
|
|
bool "604"
|
|
|
|
config BR2_powerpc_604e
|
|
|
|
bool "604e"
|
|
|
|
config BR2_powerpc_620
|
|
|
|
bool "620"
|
|
|
|
config BR2_powerpc_630
|
|
|
|
bool "630"
|
|
|
|
config BR2_powerpc_740
|
|
|
|
bool "740"
|
|
|
|
config BR2_powerpc_7400
|
|
|
|
bool "7400"
|
|
|
|
config BR2_powerpc_7450
|
|
|
|
bool "7450"
|
|
|
|
config BR2_powerpc_750
|
|
|
|
bool "750"
|
|
|
|
config BR2_powerpc_821
|
|
|
|
bool "821"
|
|
|
|
config BR2_powerpc_823
|
|
|
|
bool "823"
|
|
|
|
config BR2_powerpc_860
|
|
|
|
bool "860"
|
|
|
|
config BR2_powerpc_970
|
|
|
|
bool "970"
|
|
|
|
config BR2_powerpc_8540
|
|
|
|
bool "8540 / e500v1"
|
|
|
|
config BR2_powerpc_8548
|
|
|
|
bool "8548 / e500v2"
|
|
|
|
config BR2_powerpc_e300c2
|
|
|
|
bool "e300c2"
|
|
|
|
config BR2_powerpc_e300c3
|
|
|
|
bool "e300c3"
|
|
|
|
config BR2_powerpc_e500mc
|
|
|
|
bool "e500mc"
|
|
|
|
endchoice
|
|
|
|
|
|
|
|
choice
|
|
|
|
prompt "Target ABI"
|
|
|
|
depends on BR2_powerpc
|
|
|
|
default BR2_powerpc_SPE if BR2_powerpc_8540 || BR2_powerpc_8548
|
|
|
|
default BR2_powerpc_CLASSIC
|
|
|
|
help
|
|
|
|
Application Binary Interface to use
|
|
|
|
|
|
|
|
config BR2_powerpc_CLASSIC
|
|
|
|
bool "Classic"
|
|
|
|
depends on !(BR2_powerpc_8540 || BR2_powerpc_8548)
|
|
|
|
config BR2_powerpc_SPE
|
|
|
|
bool "SPE"
|
|
|
|
depends on BR2_powerpc_8540 || BR2_powerpc_8548
|
|
|
|
endchoice
|
arch: improve definition of gcc mtune, mcpu, etc.
As suggested by Yann E. Morin, there is a better way than our current
big Config.in.common to define the gcc mtune, mcpu, march,
etc. values. We can split the setting of those values in each
architecture file, which makes a lot more sense.
Therefore, the Config.in file now creates empty kconfig variables
BR2_ARCH, BR2_ENDIAN, BR2_GCC_TARGET_TUNE, BR2_GCC_TARGET_ARCH,
BR2_GCC_TARGET_ABI and BR2_GCC_TARGET_CPU. The values of those
variables are set by the individual Config.in.<arch> files. This is
possible because such files are now only conditionally included
depending on the top-level architecture that has been selected.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-11-15 04:53:48 +01:00
|
|
|
|
2013-07-16 10:03:13 +02:00
|
|
|
config BR2_POWERPC_SOFT_FLOAT
|
|
|
|
bool "Use soft-float"
|
|
|
|
select BR2_SOFT_FLOAT
|
|
|
|
help
|
|
|
|
If your target CPU does not have a Floating Point Unit (FPU)
|
|
|
|
or a kernel FPU emulator, but you still wish to support
|
|
|
|
floating point functions, then everything will need to be
|
|
|
|
compiled with soft floating point support (-msoft-float).
|
|
|
|
|
arch: improve definition of gcc mtune, mcpu, etc.
As suggested by Yann E. Morin, there is a better way than our current
big Config.in.common to define the gcc mtune, mcpu, march,
etc. values. We can split the setting of those values in each
architecture file, which makes a lot more sense.
Therefore, the Config.in file now creates empty kconfig variables
BR2_ARCH, BR2_ENDIAN, BR2_GCC_TARGET_TUNE, BR2_GCC_TARGET_ARCH,
BR2_GCC_TARGET_ABI and BR2_GCC_TARGET_CPU. The values of those
variables are set by the individual Config.in.<arch> files. This is
possible because such files are now only conditionally included
depending on the top-level architecture that has been selected.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-11-15 04:53:48 +01:00
|
|
|
config BR2_ARCH
|
|
|
|
default "powerpc" if BR2_powerpc
|
|
|
|
|
|
|
|
config BR2_ENDIAN
|
|
|
|
default "BIG"
|
|
|
|
|
|
|
|
config BR2_GCC_TARGET_TUNE
|
2012-11-15 04:53:53 +01:00
|
|
|
default "401" if BR2_powerpc_401
|
|
|
|
default "403" if BR2_powerpc_403
|
|
|
|
default "405" if BR2_powerpc_405
|
|
|
|
default "405fp" if BR2_powerpc_405fp
|
|
|
|
default "440" if BR2_powerpc_440
|
|
|
|
default "440fp" if BR2_powerpc_440fp
|
2012-12-09 12:54:02 +01:00
|
|
|
default "464" if BR2_powerpc_464
|
|
|
|
default "464fp" if BR2_powerpc_464fp
|
|
|
|
default "476" if BR2_powerpc_476
|
|
|
|
default "476fp" if BR2_powerpc_476fp
|
2012-11-15 04:53:53 +01:00
|
|
|
default "505" if BR2_powerpc_505
|
|
|
|
default "601" if BR2_powerpc_601
|
|
|
|
default "602" if BR2_powerpc_602
|
|
|
|
default "603" if BR2_powerpc_603
|
|
|
|
default "603e" if BR2_powerpc_603e
|
|
|
|
default "604" if BR2_powerpc_604
|
|
|
|
default "604e" if BR2_powerpc_604e
|
|
|
|
default "620" if BR2_powerpc_620
|
|
|
|
default "630" if BR2_powerpc_630
|
|
|
|
default "740" if BR2_powerpc_740
|
|
|
|
default "7400" if BR2_powerpc_7400
|
|
|
|
default "7450" if BR2_powerpc_7450
|
|
|
|
default "750" if BR2_powerpc_750
|
|
|
|
default "821" if BR2_powerpc_821
|
|
|
|
default "823" if BR2_powerpc_823
|
|
|
|
default "860" if BR2_powerpc_860
|
|
|
|
default "970" if BR2_powerpc_970
|
|
|
|
default "8540" if BR2_powerpc_8540
|
|
|
|
default "8548" if BR2_powerpc_8548
|
|
|
|
default "e300c2" if BR2_powerpc_e300c2
|
|
|
|
default "e300c3" if BR2_powerpc_e300c3
|
|
|
|
default "e500mc" if BR2_powerpc_e500mc
|
arch: improve definition of gcc mtune, mcpu, etc.
As suggested by Yann E. Morin, there is a better way than our current
big Config.in.common to define the gcc mtune, mcpu, march,
etc. values. We can split the setting of those values in each
architecture file, which makes a lot more sense.
Therefore, the Config.in file now creates empty kconfig variables
BR2_ARCH, BR2_ENDIAN, BR2_GCC_TARGET_TUNE, BR2_GCC_TARGET_ARCH,
BR2_GCC_TARGET_ABI and BR2_GCC_TARGET_CPU. The values of those
variables are set by the individual Config.in.<arch> files. This is
possible because such files are now only conditionally included
depending on the top-level architecture that has been selected.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-11-15 04:53:48 +01:00
|
|
|
|
|
|
|
config BR2_GCC_TARGET_ABI
|
2012-11-15 04:53:53 +01:00
|
|
|
default "altivec" if BR2_PPC_ABI_altivec
|
|
|
|
default "no-altivec" if BR2_PPC_ABI_no-altivec
|
|
|
|
default "spe" if BR2_PPC_ABI_spe
|
|
|
|
default "no-spe" if BR2_PPC_ABI_no-spe
|
|
|
|
default "ibmlongdouble" if BR2_PPC_ABI_ibmlongdouble
|
|
|
|
default "ieeelongdouble" if BR2_PPC_ABI_ieeelongdouble
|