Add functionlity to the scripts to replace tokens in kernel headers

based on architecture.
This commit is contained in:
Raghu Gandham
2013-01-16 16:42:47 -08:00
parent f3fe19459f
commit a864c2c234
5 changed files with 13 additions and 5 deletions

View File

@@ -48,6 +48,11 @@ kernel_default_arch_macros = {
"mips": {"CONFIG_32BIT":"1"},
}
kernel_arch_token_replacements = {
"arm": {},
"x86": {},
"mips": {"off_t":"__kernel_off_t"},
}
# Replace tokens in the output according to this mapping
kernel_token_replacements = {
"asm": "__asm__",