include: add zephyr/ on script generated #include
Fix few script generated #include that needed the zephyr/ prefix. Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
This commit is contained in:
parent
e24314f10f
commit
93f20d7a7a
4 changed files with 10 additions and 10 deletions
|
@ -94,8 +94,8 @@ cprint("")
|
|||
|
||||
# Re-include the core-isa header and be sure our definitions match, for sanity
|
||||
cprint("#include <xtensa/config/core-isa.h>")
|
||||
cprint("#include <sys/util.h>")
|
||||
cprint("#include <sw_isr_table.h>")
|
||||
cprint("#include <zephyr/sys/util.h>")
|
||||
cprint("#include <zephyr/sw_isr_table.h>")
|
||||
cprint("")
|
||||
for l in ints_by_lvl:
|
||||
for i in ints_by_lvl[l]:
|
||||
|
|
|
@ -155,8 +155,8 @@ def generate_header():
|
|||
*
|
||||
*/
|
||||
|
||||
#include <zephyr.h>
|
||||
#include <display/cfb.h>
|
||||
#include <zephyr/zephyr.h>
|
||||
#include <zephyr/display/cfb.h>
|
||||
|
||||
static const uint8_t cfb_font_{name:s}_{width:d}{height:d}[{elem:d}][{b:.0f}] = {{\n"""
|
||||
.format(cmd=" ".join(clean_cmd),
|
||||
|
|
|
@ -719,9 +719,9 @@ header = """%compare-lengths
|
|||
%global-table
|
||||
%struct-type
|
||||
%{
|
||||
#include <kernel.h>
|
||||
#include <toolchain.h>
|
||||
#include <syscall_handler.h>
|
||||
#include <zephyr/kernel.h>
|
||||
#include <zephyr/toolchain.h>
|
||||
#include <zephyr/syscall_handler.h>
|
||||
#include <string.h>
|
||||
%}
|
||||
struct z_object;
|
||||
|
|
|
@ -114,9 +114,9 @@ LINKER_SECTION_SEQ_MPU = """
|
|||
|
||||
SOURCE_CODE_INCLUDES = """
|
||||
/* Auto generated code. Do not modify.*/
|
||||
#include <zephyr.h>
|
||||
#include <linker/linker-defs.h>
|
||||
#include <kernel_structs.h>
|
||||
#include <zephyr/zephyr.h>
|
||||
#include <zephyr/linker/linker-defs.h>
|
||||
#include <zephyr/kernel_structs.h>
|
||||
#include <kernel_internal.h>
|
||||
"""
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue