diff options
author | Khem Raj <raj.khem@gmail.com> | 2014-08-25 16:45:02 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-08-27 12:12:07 +0100 |
commit | 8003ce0df3f6297391a709cc9720adffbd8fbd0f (patch) | |
tree | 2d9aea84a5b9b044f029d034005414758e435e02 /meta/recipes-core/uclibc/uclibc.inc | |
parent | 63ab0ce2103bcf3a42ce5812a22409779126e114 (diff) | |
download | openembedded-core-contrib-8003ce0df3f6297391a709cc9720adffbd8fbd0f.tar.gz |
uclibc: Upgrade to tip of master
Adjust mips to cater for new mips32r2 defaulttune
Remove upstreamed patches
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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 () { # if we use TARGET_CC_ARCH="-march=mips32" we end up # with conflicting march options to gcc. Here we # ask for MIPS32 ISA to match the chosen arch - - if "mips32" in d.getVar("TUNE_FEATURES",True): + tune = d.getVar("DEFAULTTUNE", True) + if tune in ['mips32', 'mips32r2']: d.setVar('configmangle_append', - "/^### MIPS32_CHECK$/a\\\nCONFIG_MIPS_ISA_MIPS32=y\n\n") + "/^### MIPS32_CHECK$/a\\\nCONFIG_MIPS_ISA_%s=y\n\n" % (tune.upper())) if "${OE_FEATURES}": d.setVar('configmangle_append', "/^### DISTRO FEATURES$/a\\\n%s\n\n" % |