Add functionlity to the scripts to replace tokens in kernel headers
based on architecture.
This commit is contained in:
@@ -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__",
|
||||
|
Reference in New Issue
Block a user