diff options
Diffstat (limited to 'meta/recipes-core/uclibc/uclibc.inc')
-rw-r--r-- | meta/recipes-core/uclibc/uclibc.inc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/recipes-core/uclibc/uclibc.inc b/meta/recipes-core/uclibc/uclibc.inc index a86ac3ddf7..18587ca273 100644 --- a/meta/recipes-core/uclibc/uclibc.inc +++ b/meta/recipes-core/uclibc/uclibc.inc | |||
@@ -93,10 +93,10 @@ python () { | |||
93 | # if we use TARGET_CC_ARCH="-march=mips32" we end up | 93 | # if we use TARGET_CC_ARCH="-march=mips32" we end up |
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 | 96 | tune = d.getVar("DEFAULTTUNE", True) | |
97 | if "mips32" in d.getVar("TUNE_FEATURES",True): | 97 | if tune in ['mips32', 'mips32r2']: |
98 | d.setVar('configmangle_append', | 98 | d.setVar('configmangle_append', |
99 | "/^### MIPS32_CHECK$/a\\\nCONFIG_MIPS_ISA_MIPS32=y\n\n") | 99 | "/^### MIPS32_CHECK$/a\\\nCONFIG_MIPS_ISA_%s=y\n\n" % (tune.upper())) |
100 | if "${OE_FEATURES}": | 100 | if "${OE_FEATURES}": |
101 | d.setVar('configmangle_append', | 101 | d.setVar('configmangle_append', |
102 | "/^### DISTRO FEATURES$/a\\\n%s\n\n" % | 102 | "/^### DISTRO FEATURES$/a\\\n%s\n\n" % |