Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1213)

Unified Diff: pnacl/driver/driver_tools.py

Issue 12256013: [MIPS] Fix missing definitions for MIPS arch in build and driver scripts (Closed) Base URL: http://git.chromium.org/native_client/src/native_client.git@master
Patch Set: Update per code review. Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pnacl/driver/driver_env.py ('k') | pnacl/driver/pnacl-driver.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pnacl/driver/driver_tools.py
diff --git a/pnacl/driver/driver_tools.py b/pnacl/driver/driver_tools.py
index 5177816ca6ac7398ccc60b91477ea6b594ccb0f7..a05813597f3be114af5cc5b0f34f6464b03a70d1 100755
--- a/pnacl/driver/driver_tools.py
+++ b/pnacl/driver/driver_tools.py
@@ -226,6 +226,7 @@ DriverArgPatterns = [
( '--pnacl-use-emulator', "env.set('USE_EMULATOR', '1')"),
( '--dry-run', "env.set('DRY_RUN', '1')"),
( '--pnacl-arm-bias', "env.set('BIAS', 'ARM')"),
+ ( '--pnacl-mips-bias', "env.set('BIAS', 'MIPS32')"),
( '--pnacl-i686-bias', "env.set('BIAS', 'X8632')"),
( '--pnacl-x86_64-bias', "env.set('BIAS', 'X8664')"),
( '--pnacl-bias=(.+)', "env.set('BIAS', FixArch($0))"),
@@ -947,6 +948,7 @@ def FixArch(arch):
'mips32': 'MIPS32',
'mips' : 'MIPS32',
+ 'mipsel': 'MIPS32',
}
if arch not in archfix:
Log.Fatal('Unrecognized arch "%s"!', arch)
« no previous file with comments | « pnacl/driver/driver_env.py ('k') | pnacl/driver/pnacl-driver.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698