diff options
Diffstat (limited to 'libc/kernel/tools/defaults.py')
-rw-r--r-- | libc/kernel/tools/defaults.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libc/kernel/tools/defaults.py b/libc/kernel/tools/defaults.py index 592d8b4..da78b87 100644 --- a/libc/kernel/tools/defaults.py +++ b/libc/kernel/tools/defaults.py @@ -36,6 +36,13 @@ kernel_known_macros = { # but just generates cleaner results 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": {}, + "x86": {"__i386__": "1"}, + } + # this is the set of known static inline functions that we want to keep # in the final ARM headers. this is only used to keep optimized byteswapping # static functions and stuff like that. |