uclibc: fix MIPS variables
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 10 Nov 2013 15:01:42 +0000 (16:01 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Sun, 10 Nov 2013 21:40:12 +0000 (22:40 +0100)
The BR2_UCLIBC_MIPS_ISA hidden Config.in variable defines which uClibc
config option should be enabled for a given MIPS architecture
variant. Therefore, using lower case names doesn't work: they should
be upper case, to match uClibc config option names. This commit makes
sure the mips32, mips32r2 and mips64 builds select the appropriate
uClibc configuration.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Markos Chandras <Markos.Chandras@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/uclibc/Config.in

index 2dbac12c857f1e1bb185173ffc389877dd417c9b..82dd3aa72fac6ad9481e676eeb04ff2f71674dde 100644 (file)
@@ -230,9 +230,9 @@ config BR2_UCLIBC_MIPS_ISA
        default 2 if BR2_mips_2
        default 3 if BR2_mips_3
        default 4 if BR2_mips_4
-       default mips32 if BR2_mips_32
-       default mips32r2 if BR2_mips_32r2
-       default mips64 if BR2_mips_64
+       default MIPS32 if BR2_mips_32
+       default MIPS32R2 if BR2_mips_32r2
+       default MIPS64 if BR2_mips_64
 
 config BR2_UCLIBC_SH_TYPE
        string