in OE we user mips32r2 and mips64r2 for mips arch versions
so there is no benefit of detecting it automatically by
poking at tools especially in cross env

Fixes errors like

linking -mnan=2008 module with previous -mnan=legacy modules
failed to merge target specific data of file

-Khem
Upstream-Status: Inappropriate [OE-Specific]

--- a/configure
+++ b/configure
@@ -5886,17 +5886,10 @@
 
     # Check toolchain ISA level
     if enabled mips64; then
-        enabled mips64r6 && check_inline_asm mips64r6 '"dlsa $0, $0, $0, 1"' &&
-            disable mips64r2
-
         enabled mips64r2 && check_inline_asm mips64r2 '"dext $0, $0, 0, 1"'
 
         disable mips32r6 && disable mips32r5 && disable mips32r2
     else
-        enabled mips32r6 && check_inline_asm mips32r6 '"aui $0, $0, 0"' &&
-            disable mips32r5 && disable mips32r2
-
-        enabled mips32r5 && check_inline_asm mips32r5 '"eretnc"'
         enabled mips32r2 && check_inline_asm mips32r2 '"ext $0, $0, 0, 1"'
 
         disable mips64r6 && disable mips64r5 && disable mips64r2