diff options
author | Raghu Gandham <raghu@mips.com> | 2012-03-27 11:37:17 -0700 |
---|---|---|
committer | Raghu Gandham <raghu@mips.com> | 2012-03-27 11:38:00 -0700 |
commit | 82fa43febc9d679ae6276f6bf992b9b345bb5815 (patch) | |
tree | 80d5c3b101c2b6347d6de2528db1917fcc5c69f9 /libc/kernel/tools/find_headers.py | |
parent | 56731351de7230180fc99a1a4b0afd12f881b0f7 (diff) | |
download | android_bionic-82fa43febc9d679ae6276f6bf992b9b345bb5815.tar.gz android_bionic-82fa43febc9d679ae6276f6bf992b9b345bb5815.tar.bz2 android_bionic-82fa43febc9d679ae6276f6bf992b9b345bb5815.zip |
[MIPS] Clean Kernel headers are generated by running
libc/kernel/tools/update_all.py script. This patch ignores
any changes to libc/kernel directory not related to MIPS
architecture.
Change-Id: I2c9e461dccb7c33eb4420be2db1a562f45137c8d
Signed-off-by: Raghu Gandham <raghu@mips.com>
Signed-off-by: Chris Dearman <chris@mips.com>
Diffstat (limited to 'libc/kernel/tools/find_headers.py')
-rwxr-xr-x | libc/kernel/tools/find_headers.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libc/kernel/tools/find_headers.py b/libc/kernel/tools/find_headers.py index 3d622a8bc..9b3572a0a 100755 --- a/libc/kernel/tools/find_headers.py +++ b/libc/kernel/tools/find_headers.py @@ -88,20 +88,20 @@ for archdir in os.listdir(kernel_root+"/arch"): archs.append(archdir) # if we're using the 'kernel_headers' directory, there is only asm/ -# and no other asm-<arch> directories (arm is assumed, which sucks) +# and no other asm-<arch> directories # in_kernel_headers = False if len(archs) == 0: # this can happen when we're using the 'kernel_headers' directory if os.path.isdir(kernel_root+"/asm"): in_kernel_headers = True - archs = [ "arm" ] + archs = [ "arm", "mips"] # if the user has specified some architectures with -a <archs> ensure that # all those he wants are available from the kernel include tree if wanted_archs != None: - if in_kernel_headers and wanted_archs != [ "arm" ]: - sys.stderr.write( "error: when parsing kernel_headers, 'arm' architecture only is supported at the moment\n" ) + if in_kernel_headers and wanted_archs != [ "arm", "mips" ]: + sys.stderr.write( "error: when parsing kernel_headers, only 'arm' and 'mips' architectures are supported at the moment\n" ) sys.exit(1) missing = [] for arch in wanted_archs: |