Index: tools/autotool.py
===================================================================
--- tools/autotool.py	(revision e4a14979ffc3c37b48afa97e8633a1ada35d2418)
+++ tools/autotool.py	(revision b696cbff4a24376d6e6be1b86817a2cf94bab1e3)
@@ -676,9 +676,9 @@
 				common['CC_ARGS'].append("-mabi=32")
 				
-				if ((config['MACHINE'] == "lgxemul") or (config['MACHINE'] == "msim")):
+				if ((config['MACHINE'] == "msim") or (config['MACHINE'] == "lmalta")):
 					target = config['PLATFORM']
 					gnu_target = "mipsel-linux-gnu"
 				
-				if (config['MACHINE'] == "bgxemul"):
+				if ((config['MACHINE'] == "bmalta")):
 					target = "mips32eb"
 					gnu_target = "mips-linux-gnu"
