| Index: pydir/utils.py
|
| diff --git a/pydir/utils.py b/pydir/utils.py
|
| index 295671f1bf38e33db14ffe55c92ee029de617238..121e2e218efcef01c3699092c0a7d13da4521f30 100644
|
| --- a/pydir/utils.py
|
| +++ b/pydir/utils.py
|
| @@ -2,12 +2,16 @@ import os
|
| import subprocess
|
| import sys
|
|
|
| -def GetObjcopyCmd():
|
| +def GetObjcopyCmd(target):
|
| """Return a suitable objcopy command."""
|
| + if target == 'mips32':
|
| + return 'mipsel-nacl-objcopy'
|
| return 'arm-nacl-objcopy'
|
|
|
| -def GetObjdumpCmd():
|
| +def GetObjdumpCmd(target):
|
| """Return a suitable objdump command."""
|
| + if target == 'mips32':
|
| + return 'mipsel-nacl-objdump'
|
| return 'arm-nacl-objdump'
|
|
|
| def shellcmd(command, echo=True):
|
|
|