summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-core/uclibc/uclibc.inc4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/recipes-core/uclibc/uclibc.inc b/meta/recipes-core/uclibc/uclibc.inc
index 18587ca273..08465c4f41 100644
--- a/meta/recipes-core/uclibc/uclibc.inc
+++ b/meta/recipes-core/uclibc/uclibc.inc
@@ -94,7 +94,9 @@ python () {
94 # with conflicting march options to gcc. Here we 94 # with conflicting march options to gcc. Here we
95 # ask for MIPS32 ISA to match the chosen arch 95 # ask for MIPS32 ISA to match the chosen arch
96 tune = d.getVar("DEFAULTTUNE", True) 96 tune = d.getVar("DEFAULTTUNE", True)
97 if tune in ['mips32', 'mips32r2']: 97 if tune.startswith('mips32'):
98 import re
99 tune = re.sub('(el)*(-nf)*', '', tune)
98 d.setVar('configmangle_append', 100 d.setVar('configmangle_append',
99 "/^### MIPS32_CHECK$/a\\\nCONFIG_MIPS_ISA_%s=y\n\n" % (tune.upper())) 101 "/^### MIPS32_CHECK$/a\\\nCONFIG_MIPS_ISA_%s=y\n\n" % (tune.upper()))
100 if "${OE_FEATURES}": 102 if "${OE_FEATURES}":