Index: tools/build.py |
diff --git a/tools/build.py b/tools/build.py |
index dac178fbf2209ef3208965ea1bbc43daba2f415c..91d68640c215ecf3fa58912598fefae131c9f4f7 100755 |
--- a/tools/build.py |
+++ b/tools/build.py |
@@ -55,8 +55,8 @@ def BuildOptions(): |
default=False, action="store_true") |
result.add_option("-a", "--arch", |
help='Target architectures (comma-separated).', |
- metavar='[all,ia32,x64,simarm,arm,simarmv5te,armv5te,simmips,mips' |
- ',simarm64,arm64,]', |
+ metavar='[all,ia32,x64,simarm,arm,simarmv6,armv6,simarmv5te,armv5te,' |
+ 'simmips,mips,simarm64,arm64,]', |
default=utils.GuessArchitecture()) |
result.add_option("--os", |
help='Target OSs (comma-separated).', |
@@ -101,8 +101,8 @@ def ProcessOptions(options, args): |
print "Unknown mode %s" % mode |
return False |
for arch in options.arch: |
- archs = ['ia32', 'x64', 'simarm', 'arm', 'simarmv5te', 'armv5te', 'simmips', |
- 'mips', 'simarm64', 'arm64',] |
+ archs = ['ia32', 'x64', 'simarm', 'arm', 'simarmv6', 'armv6', |
+ 'simarmv5te', 'armv5te', 'simmips', 'mips', 'simarm64', 'arm64',] |
if not arch in archs: |
print "Unknown arch %s" % arch |
return False |
@@ -119,7 +119,7 @@ def ProcessOptions(options, args): |
print ("Cross-compilation to %s is not supported on host os %s." |
% (os_name, HOST_OS)) |
return False |
- if not arch in ['ia32', 'arm', 'armv5te', 'arm64', 'mips']: |
+ if not arch in ['ia32', 'arm', 'armv6', 'armv5te', 'arm64', 'mips']: |
print ("Cross-compilation to %s is not supported for architecture %s." |
% (os_name, arch)) |
return False |