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 02:27:59 -06:00
|
|
|
choice
|
|
|
|
prompt "Target Architecture Variant"
|
|
|
|
depends on BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el
|
2013-11-20 04:39:58 -07: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 02:27:59 -06:00
|
|
|
default BR2_mips_64 if BR2_mips64 || BR2_mips64el
|
|
|
|
help
|
|
|
|
Specific CPU variant to use
|
|
|
|
|
|
|
|
64bit cabable: 3, 4, 64, 64r2
|
|
|
|
non-64bit capable: 1, 2, 32, 32r2
|
|
|
|
|
|
|
|
config BR2_mips_32
|
|
|
|
bool "mips 32"
|
|
|
|
depends on !BR2_ARCH_IS_64
|
|
|
|
config BR2_mips_32r2
|
|
|
|
bool "mips 32r2"
|
|
|
|
depends on !BR2_ARCH_IS_64
|
|
|
|
config BR2_mips_64
|
|
|
|
bool "mips 64"
|
2014-01-03 07:36:19 -07:00
|
|
|
depends on BR2_ARCH_IS_64
|
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 02:27:59 -06:00
|
|
|
config BR2_mips_64r2
|
|
|
|
bool "mips 64r2"
|
2014-01-03 07:36:19 -07:00
|
|
|
depends on BR2_ARCH_IS_64
|
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 02:27:59 -06:00
|
|
|
endchoice
|
|
|
|
|
|
|
|
|
|
|
|
choice
|
|
|
|
prompt "Target ABI"
|
2014-03-28 05:00:52 -06: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 02:27:59 -06:00
|
|
|
|
|
|
|
help
|
|
|
|
Application Binary Interface to use
|
|
|
|
|
|
|
|
config BR2_MIPS_NABI32
|
|
|
|
bool "n32"
|
|
|
|
depends on BR2_ARCH_IS_64
|
2013-10-25 07:10:22 -06: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 02:27:59 -06: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-14 20:53:48 -07:00
|
|
|
|
2013-07-16 02:03:13 -06: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-14 20:53:48 -07: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
|
|
|
|
default "BIG" if BR2_mips || BR2_mips64
|
|
|
|
|
2014-08-17 13:29:56 -06:00
|
|
|
config BR2_ARCH_HAS_ATOMICS
|
|
|
|
default y
|
|
|
|
|
2013-10-28 08:21:09 -06:00
|
|
|
config BR2_GCC_TARGET_ARCH
|
2012-11-14 20:53:53 -07:00
|
|
|
default "mips1" if BR2_mips_1
|
|
|
|
default "mips2" if BR2_mips_2
|
|
|
|
default "mips3" if BR2_mips_3
|
|
|
|
default "mips4" if BR2_mips_4
|
|
|
|
default "mips32" if BR2_mips_32
|
|
|
|
default "mips32r2" if BR2_mips_32r2
|
|
|
|
default "mips64" if BR2_mips_64
|
|
|
|
default "mips64r2" if BR2_mips_64r2
|
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-14 20:53:48 -07:00
|
|
|
|
2014-03-28 05:00:52 -06: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-14 20:53:48 -07:00
|
|
|
config BR2_GCC_TARGET_ABI
|
2012-11-14 20:53:53 -07:00
|
|
|
default "32" if BR2_MIPS_OABI32
|
|
|
|
default "n32" if BR2_MIPS_NABI32
|
|
|
|
default "64" if BR2_MIPS_NABI64
|