Scrub uapi headers slightly harder.

There's no point having always-false tests. It just makes the headers
harder to read.

Bug: 11560081
Change-Id: I6187755e1514ca9ff5642b3c1b0489f22edddaf5
This commit is contained in:
Elliott Hughes
2014-05-15 12:01:11 -07:00
parent 089c7c9217
commit 8ed7a23309
6 changed files with 104 additions and 144 deletions

View File

@@ -42,9 +42,9 @@ kernel_remove_config_macros = True
# maps an architecture to a set of default macros that would be provided by
# toolchain preprocessor
kernel_default_arch_macros = {
"arm": {},
"arm": {"__ARMEB__": kCppUndefinedMacro, "__ARM_EABI__": "1"},
"arm64": {},
"mips": {"CONFIG_32BIT":"1"},
"mips": {"CONFIG_32BIT":"1", "__MIPSEB__": kCppUndefinedMacro, "__MIPSEL__": "1"},
"x86": {},
}