forked from Imagelibrary/seL4
python: include sel4/config.h and not autoconf.h
Include sel4/config.h instead of autoconf.h in the generated code. Signed-off-by: Axel Heider <axelheider@gmx.de>
This commit is contained in:
@@ -78,7 +78,7 @@ MAX_MESSAGE_LENGTH = 64
|
||||
|
||||
# Headers to include
|
||||
INCLUDES = [
|
||||
'autoconf.h', 'sel4/types.h'
|
||||
'sel4/config.h', 'sel4/types.h'
|
||||
]
|
||||
|
||||
TYPES = {
|
||||
|
||||
@@ -56,7 +56,7 @@ def var_name(name, base):
|
||||
# Headers to include depending on which environment we are generating code for.
|
||||
INCLUDES = {
|
||||
'sel4': ['assert.h', 'config.h', 'stdint.h', 'util.h'],
|
||||
'libsel4': ['autoconf.h', 'sel4/simple_types.h', 'sel4/debug_assert.h'],
|
||||
'libsel4': ['sel4/config.h', 'sel4/simple_types.h', 'sel4/debug_assert.h'],
|
||||
}
|
||||
|
||||
ASSERTS = {
|
||||
|
||||
@@ -96,7 +96,7 @@ LIBSEL4_HEADER_TEMPLATE = """/*
|
||||
""" + COMMON_HEADER + """
|
||||
#pragma once
|
||||
|
||||
#include <autoconf.h>
|
||||
#include <sel4/config.h>
|
||||
|
||||
typedef enum {
|
||||
{%- for condition, list in enum %}
|
||||
|
||||
Reference in New Issue
Block a user