diff options
author | Jean-Baptiste Queru <jbq@google.com> | 2009-10-14 08:18:23 -0700 |
---|---|---|
committer | Jean-Baptiste Queru <jbq@google.com> | 2009-10-14 08:18:23 -0700 |
commit | 73981476a389847e8537cca37503c43e107fadc9 (patch) | |
tree | a60ed9cc386c36ef6937974e0a729c5d429c57b5 /libc/kernel | |
parent | 60c221ccfaf67bdd9cadfd151d0bad9d3f8482ce (diff) | |
parent | 4e30c09e57a0351daff70f6657794569445be21c (diff) | |
download | bionic-73981476a389847e8537cca37503c43e107fadc9.zip bionic-73981476a389847e8537cca37503c43e107fadc9.tar.gz bionic-73981476a389847e8537cca37503c43e107fadc9.tar.bz2 |
merge from open-source master
Diffstat (limited to 'libc/kernel')
-rw-r--r-- | libc/kernel/tools/defaults.py | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/libc/kernel/tools/defaults.py b/libc/kernel/tools/defaults.py index aad0092..4227de7 100644 --- a/libc/kernel/tools/defaults.py +++ b/libc/kernel/tools/defaults.py @@ -7,7 +7,7 @@ from utils import * # the list of supported architectures # -kernel_archs = [ 'arm', 'x86' ] +kernel_archs = [ 'arm', 'x86', 'sh' ] # the list of include directories that belong to the kernel # tree. used when looking for sources... @@ -57,6 +57,15 @@ kernel_known_x86_statics = set( ] ) +kernel_known_sh_statics = set( + [ "___arch__swab16", # asm-sh/byteorder.h + "___arch__swab32", # asm-sh/byteorder.h + "___arch__swab64", # asm-sh/byteorder.h + "__FD_ZERO", # asm-sh/posix_types_32/64.h + "__FD_SET", # asm-sh/posix_types_32/64.h + ] + ) + kernel_known_generic_statics = set( [ "__invalid_size_argument_for_IOC", # asm-generic/ioctl.h "__cmsg_nxthdr", # linux/socket.h @@ -70,7 +79,8 @@ kernel_known_generic_statics = set( # kernel_known_statics = { "arm" : kernel_known_arm_statics, - "x86" : kernel_known_x86_statics + "x86" : kernel_known_x86_statics, + "sh" : kernel_known_sh_statics } # this is a list of macros which we want to specifically exclude from |