diff options
author | Vicente Olivert Riera <Vincent.Riera@imgtec.com> | 2017-06-28 16:17:10 +0100 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2017-07-16 16:35:39 +0200 |
commit | 2d8f3fc430fe4f16c570097cf3dc33aa78ccb702 (patch) | |
tree | 46a8e021c6cbabd259a1d49e7a39981940809826 /package/uclibc | |
parent | 14645274a4ee91704a9585e3285ec578337b40c0 (diff) | |
download | buildroot-2d8f3fc430fe4f16c570097cf3dc33aa78ccb702.tar.gz buildroot-2d8f3fc430fe4f16c570097cf3dc33aa78ccb702.zip |
arch/mips: add support for MIPS NaN
MIPS supports two different NaN encodings, legacy and 2008. Information
about MIPS NaN encodings can be found here:
https://sourceware.org/binutils/docs/as/MIPS-NaN-Encodings.html
NaN legacy is the only option available for R2 cores and older.
NaN 2008 is the only option available for R6 cores.
R5 cores can have either NaN legacy or NaN 2008, depending on the
implementation. So, if the user selects a generic R5 target architecture
variant, we show a choice menu with both options available. For well
known R5 cores we directly select the NaN enconding they use.
Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/uclibc')
-rw-r--r-- | package/uclibc/Config.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/package/uclibc/Config.in b/package/uclibc/Config.in index b0b0b010f7..3b4f91da91 100644 --- a/package/uclibc/Config.in +++ b/package/uclibc/Config.in @@ -123,8 +123,8 @@ config BR2_UCLIBC_MIPS_ABI config BR2_UCLIBC_MIPS_NAN string - default "LEGACY" if BR2_MIPS_CPU_MIPS32 || BR2_MIPS_CPU_MIPS64 - default "2008" if BR2_MIPS_CPU_MIPS32R6 || BR2_MIPS_CPU_MIPS64R6 + default "LEGACY" if BR2_MIPS_NAN_LEGACY + default "2008" if BR2_MIPS_NAN_2008 depends on BR2_UCLIBC_TARGET_ARCH = "mips" config BR2_UCLIBC_SH_TYPE |