diff options
author | The Android Open Source Project <initial-contribution@android.com> | 2009-01-09 17:50:54 -0800 |
---|---|---|
committer | The Android Open Source Project <initial-contribution@android.com> | 2009-01-09 17:50:54 -0800 |
commit | 6d6c82c7a0a6b9a89f61b61c66f9b90d9c7177dc (patch) | |
tree | 8de86895228b63728c3a134c8b1fcab003db467d /libc/kernel/tools/defaults.py | |
parent | 4e468ed2eb86a2406e14f1eca82072ee501d05fd (diff) | |
download | bionic-6d6c82c7a0a6b9a89f61b61c66f9b90d9c7177dc.zip bionic-6d6c82c7a0a6b9a89f61b61c66f9b90d9c7177dc.tar.gz bionic-6d6c82c7a0a6b9a89f61b61c66f9b90d9c7177dc.tar.bz2 |
auto import from //branches/cupcake/...@125939
Diffstat (limited to 'libc/kernel/tools/defaults.py')
-rw-r--r-- | libc/kernel/tools/defaults.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/libc/kernel/tools/defaults.py b/libc/kernel/tools/defaults.py index da78b87..aad0092 100644 --- a/libc/kernel/tools/defaults.py +++ b/libc/kernel/tools/defaults.py @@ -73,6 +73,17 @@ kernel_known_statics = { "x86" : kernel_known_x86_statics } +# this is a list of macros which we want to specifically exclude from +# the generated files. +# +kernel_ignored_macros = set( + [ "MAXHOSTNAMELEN", # for some reason, Linux defines it to 64 + # while most of the BSD code expects this to be 256 + # so ignore the kernel-provided definition and + # define it in the Bionic headers instead + ] + ) + # this is the standard disclaimer # kernel_disclaimer = """\ |