Stop generating unused headers.
These just cause confusion because they often have different
values/layouts, but they're never actually used.
Test: treehugger
Change-Id: I424034088e017c919f62fcefa7d6d3f903f31cfb
diff --git a/libc/tools/gensyscalls.py b/libc/tools/gensyscalls.py
index 60fb698..fa5420b 100755
--- a/libc/tools/gensyscalls.py
+++ b/libc/tools/gensyscalls.py
@@ -16,7 +16,7 @@
import tempfile
-SupportedArchitectures = [ "arm", "arm64", "mips", "mips64", "x86", "x86_64" ]
+SupportedArchitectures = [ "arm", "arm64", "x86", "x86_64" ]
syscall_stub_header = \
"""
@@ -467,6 +467,9 @@
for arch in string.split(arch_list, ','):
if arch in SupportedArchitectures:
t[arch] = True
+ elif arch in ['mips', 'mips64']:
+ # Unused.
+ pass
else:
E("invalid syscall architecture '%s' in '%s'" % (arch, line))
return