kumquat-buildroot/arch
Yann E. MORIN 31b134a645 arch/mips: inverse the NaN logic
Currently the possibility to choose the NaN encoding is conditional to
having a sufficiently recent gcc version.

Which means that the architecture selection depends on the gcc version.

But that's opposite to what we've always done in Buildroot: the software
versions are conditional to the architecture options. There is nothing
we can do about the hardware: it is there, we can't change it, while we
can restrict ourselves to using software that is working on said
hardware.

Thus, we inverse the logic, to move the condition onto the software
side: whenever NaN-2008 are selected, we restrict the toolchain
selection to at least a gcc-4.9.

But now, the option with the NaN type is always set, so we must enclose
the code in gcc.mk inside a HAS_NAN_OPTION condition, as is already done
for the external toolchain case.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2017-11-24 22:39:56 +01:00
..
arch.mk.xtensa uboot: apply xtensa overlay 2017-07-09 17:03:45 +02:00
Config.in arch/bfin: needs gcc >= 6 2017-11-24 22:17:03 +01:00
Config.in.arc arch, linux, package: remove whitespaces 2017-03-29 23:30:37 +02:00
Config.in.arm arch/arm: some variants need different gcc versions 2017-11-24 22:19:14 +01:00
Config.in.bfin arc/bfin: remove 60x cores 2017-10-02 21:45:04 +02:00
Config.in.csky arch: add BR2_READELF_ARCH_NAME hidden config option 2017-03-20 22:22:17 +01:00
Config.in.m68k arch: add BR2_READELF_ARCH_NAME hidden config option 2017-03-20 22:22:17 +01:00
Config.in.microblaze arch: add BR2_READELF_ARCH_NAME hidden config option 2017-03-20 22:22:17 +01:00
Config.in.mips arch/mips: inverse the NaN logic 2017-11-24 22:39:56 +01:00
Config.in.nios2 arch: add BR2_READELF_ARCH_NAME hidden config option 2017-03-20 22:22:17 +01:00
Config.in.or1k arch: add BR2_READELF_ARCH_NAME hidden config option 2017-03-20 22:22:17 +01:00
Config.in.powerpc arch: add BR2_READELF_ARCH_NAME hidden config option 2017-03-20 22:22:17 +01:00
Config.in.sh arch: add BR2_READELF_ARCH_NAME hidden config option 2017-03-20 22:22:17 +01:00
Config.in.sparc arch: add BR2_READELF_ARCH_NAME hidden config option 2017-03-20 22:22:17 +01:00
Config.in.x86 arch: add BR2_READELF_ARCH_NAME hidden config option 2017-03-20 22:22:17 +01:00
Config.in.xtensa arch/xtensa: allow specifying path to tarball file 2017-07-09 15:41:51 +02:00