2016-09-30 11:36:47 +02:00
|
|
|
# mips default CPU ISAs
|
|
|
|
config BR2_MIPS_CPU_MIPS32
|
|
|
|
bool
|
|
|
|
config BR2_MIPS_CPU_MIPS32R2
|
|
|
|
bool
|
2016-09-30 11:36:51 +02:00
|
|
|
config BR2_MIPS_CPU_MIPS32R5
|
|
|
|
bool
|
2016-09-30 11:36:47 +02:00
|
|
|
config BR2_MIPS_CPU_MIPS32R6
|
|
|
|
bool
|
|
|
|
config BR2_MIPS_CPU_MIPS64
|
|
|
|
bool
|
|
|
|
config BR2_MIPS_CPU_MIPS64R2
|
|
|
|
bool
|
2016-09-30 11:36:52 +02:00
|
|
|
config BR2_MIPS_CPU_MIPS64R5
|
|
|
|
bool
|
2016-09-30 11:36:47 +02:00
|
|
|
config BR2_MIPS_CPU_MIPS64R6
|
|
|
|
bool
|
|
|
|
|
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_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el
|
2013-11-20 12:39:58 +01:00
|
|
|
default BR2_mips_32 if BR2_mips || BR2_mipsel
|
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
|
|
|
default BR2_mips_64 if BR2_mips64 || BR2_mips64el
|
|
|
|
help
|
|
|
|
Specific CPU variant to use
|
|
|
|
|
2016-09-30 11:36:52 +02:00
|
|
|
64bit cabable: 64, 64r2, 64r5, 64r6
|
2016-09-30 11:36:51 +02:00
|
|
|
non-64bit capable: 32, 32r2, 32r5, 32r6
|
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_mips_32
|
2016-09-30 11:36:50 +02:00
|
|
|
bool "Generic MIPS32"
|
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
|
|
|
depends on !BR2_ARCH_IS_64
|
2016-09-30 11:36:48 +02:00
|
|
|
select BR2_MIPS_CPU_MIPS32
|
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_mips_32r2
|
2016-09-30 11:36:50 +02:00
|
|
|
bool "Generic MIPS32R2"
|
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
|
|
|
depends on !BR2_ARCH_IS_64
|
2016-09-30 11:36:48 +02:00
|
|
|
select BR2_MIPS_CPU_MIPS32R2
|
2016-09-30 11:36:51 +02:00
|
|
|
config BR2_mips_32r5
|
|
|
|
bool "Generic MIPS32R5"
|
|
|
|
depends on !BR2_ARCH_IS_64
|
|
|
|
select BR2_MIPS_CPU_MIPS32R5
|
2015-10-12 12:08:06 +02:00
|
|
|
config BR2_mips_32r6
|
2016-09-30 11:36:50 +02:00
|
|
|
bool "Generic MIPS32R6"
|
2015-10-12 12:08:06 +02:00
|
|
|
depends on !BR2_ARCH_IS_64
|
2016-09-30 11:36:48 +02:00
|
|
|
select BR2_MIPS_CPU_MIPS32R6
|
2016-09-30 11:36:54 +02:00
|
|
|
config BR2_mips_interaptiv
|
|
|
|
bool "interAptiv"
|
|
|
|
depends on !BR2_ARCH_IS_64
|
|
|
|
select BR2_MIPS_CPU_MIPS32R2
|
2016-11-08 11:32:57 +01:00
|
|
|
config BR2_mips_m5150
|
|
|
|
bool "M5150"
|
2016-09-30 11:36:56 +02:00
|
|
|
depends on !BR2_ARCH_IS_64
|
|
|
|
select BR2_MIPS_CPU_MIPS32R5
|
2016-11-08 11:32:58 +01:00
|
|
|
config BR2_mips_m6250
|
|
|
|
bool "M6250"
|
2016-10-18 17:55:25 +02:00
|
|
|
depends on !BR2_ARCH_IS_64
|
|
|
|
select BR2_MIPS_CPU_MIPS32R6
|
2016-09-30 11:36:58 +02:00
|
|
|
config BR2_mips_p5600
|
|
|
|
bool "P5600"
|
|
|
|
depends on !BR2_ARCH_IS_64
|
|
|
|
select BR2_MIPS_CPU_MIPS32R5
|
2016-11-09 17:16:57 +01:00
|
|
|
config BR2_mips_xburst
|
|
|
|
bool "XBurst"
|
|
|
|
depends on !BR2_ARCH_IS_64
|
|
|
|
select BR2_MIPS_CPU_MIPS32R2
|
|
|
|
help
|
|
|
|
The Ingenic XBurst is a MIPS32R2 microprocessor. It has a
|
|
|
|
bug in the FPU that can generate incorrect results in
|
|
|
|
certain cases. The problem shows up when you have several
|
|
|
|
fused madd instructions in sequence with dependant
|
|
|
|
operands. This requires the -mno-fused-madd compiler option
|
|
|
|
to be used in order to prevent emitting these instructions.
|
|
|
|
|
|
|
|
See http://www.ingenic.com/en/?xburst.html
|
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_mips_64
|
2016-09-30 11:36:50 +02:00
|
|
|
bool "Generic MIPS64"
|
2014-01-03 15:36:19 +01:00
|
|
|
depends on BR2_ARCH_IS_64
|
2016-09-30 11:36:48 +02:00
|
|
|
select BR2_MIPS_CPU_MIPS64
|
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_mips_64r2
|
2016-09-30 11:36:50 +02:00
|
|
|
bool "Generic MIPS64R2"
|
2014-01-03 15:36:19 +01:00
|
|
|
depends on BR2_ARCH_IS_64
|
2016-09-30 11:36:48 +02:00
|
|
|
select BR2_MIPS_CPU_MIPS64R2
|
2016-09-30 11:36:52 +02:00
|
|
|
config BR2_mips_64r5
|
|
|
|
bool "Generic MIPS64R5"
|
|
|
|
depends on BR2_ARCH_IS_64
|
|
|
|
select BR2_MIPS_CPU_MIPS64R5
|
2015-10-12 12:08:06 +02:00
|
|
|
config BR2_mips_64r6
|
2016-09-30 11:36:50 +02:00
|
|
|
bool "Generic MIPS64R6"
|
2015-10-12 12:08:06 +02:00
|
|
|
depends on BR2_ARCH_IS_64
|
2016-09-30 11:36:48 +02:00
|
|
|
select BR2_MIPS_CPU_MIPS64R6
|
2016-09-30 11:36:57 +02:00
|
|
|
config BR2_mips_i6400
|
|
|
|
bool "I6400"
|
|
|
|
depends on BR2_ARCH_IS_64
|
|
|
|
select BR2_MIPS_CPU_MIPS64R6
|
2016-09-30 11:36:59 +02:00
|
|
|
config BR2_mips_p6600
|
|
|
|
bool "P6600"
|
|
|
|
depends on BR2_ARCH_IS_64
|
|
|
|
select BR2_MIPS_CPU_MIPS64R6
|
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
|
|
|
endchoice
|
|
|
|
|
|
|
|
|
|
|
|
choice
|
|
|
|
prompt "Target ABI"
|
2014-03-28 12:00:52 +01:00
|
|
|
depends on BR2_mips64 || BR2_mips64el
|
|
|
|
default BR2_MIPS_NABI32
|
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
|
|
|
|
|
|
|
help
|
|
|
|
Application Binary Interface to use
|
|
|
|
|
|
|
|
config BR2_MIPS_NABI32
|
|
|
|
bool "n32"
|
|
|
|
depends on BR2_ARCH_IS_64
|
2013-10-25 15:10:22 +02:00
|
|
|
select BR2_KERNEL_64_USERLAND_32
|
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_MIPS_NABI64
|
|
|
|
bool "n64"
|
|
|
|
depends on BR2_ARCH_IS_64
|
|
|
|
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_MIPS_SOFT_FLOAT
|
|
|
|
bool "Use soft-float"
|
|
|
|
default y
|
|
|
|
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 "mips" if BR2_mips
|
|
|
|
default "mipsel" if BR2_mipsel
|
|
|
|
default "mips64" if BR2_mips64
|
|
|
|
default "mips64el" if BR2_mips64el
|
|
|
|
|
|
|
|
config BR2_ENDIAN
|
|
|
|
default "LITTLE" if BR2_mipsel || BR2_mips64el
|
2017-03-26 17:05:43 +02:00
|
|
|
default "BIG" if BR2_mips || BR2_mips64
|
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-10-28 15:21:09 +01:00
|
|
|
config BR2_GCC_TARGET_ARCH
|
2012-11-15 04:53:53 +01:00
|
|
|
default "mips32" if BR2_mips_32
|
|
|
|
default "mips32r2" if BR2_mips_32r2
|
2016-09-30 11:36:51 +02:00
|
|
|
default "mips32r5" if BR2_mips_32r5
|
2015-10-12 12:08:06 +02:00
|
|
|
default "mips32r6" if BR2_mips_32r6
|
2016-09-30 11:36:54 +02:00
|
|
|
default "interaptiv" if BR2_mips_interaptiv
|
2016-11-08 11:32:57 +01:00
|
|
|
default "m5101" if BR2_mips_m5150
|
2016-11-08 11:32:58 +01:00
|
|
|
default "m6201" if BR2_mips_m6250
|
2016-09-30 11:36:58 +02:00
|
|
|
default "p5600" if BR2_mips_p5600
|
2016-11-09 17:16:57 +01:00
|
|
|
default "mips32r2" if BR2_mips_xburst
|
2012-11-15 04:53:53 +01:00
|
|
|
default "mips64" if BR2_mips_64
|
|
|
|
default "mips64r2" if BR2_mips_64r2
|
2016-09-30 11:36:52 +02:00
|
|
|
default "mips64r5" if BR2_mips_64r5
|
2015-10-12 12:08:06 +02:00
|
|
|
default "mips64r6" if BR2_mips_64r6
|
2016-09-30 11:36:57 +02:00
|
|
|
default "i6400" if BR2_mips_i6400
|
2016-09-30 11:36:59 +02:00
|
|
|
default "p6600" if BR2_mips_p6600
|
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
|
|
|
|
2014-03-28 12:00:52 +01:00
|
|
|
config BR2_MIPS_OABI32
|
|
|
|
bool
|
|
|
|
default y if BR2_mips || BR2_mipsel
|
|
|
|
|
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 "32" if BR2_MIPS_OABI32
|
|
|
|
default "n32" if BR2_MIPS_NABI32
|
|
|
|
default "64" if BR2_MIPS_NABI64
|
2017-03-19 14:07:51 +01:00
|
|
|
|
|
|
|
config BR2_READELF_ARCH_NAME
|
|
|
|
default "MIPS R3000"
|