Skip to content

Commit

Permalink
build: namespace the generated headers with zephyr/`
Browse files Browse the repository at this point in the history
Zephyr's build time generated headers are now in the
`zephyr` to provide proper namespace, update the path
accordingly.

See ZephyrProject upstream PR at:
zephyrproject-rtos/zephyr#63973

Signed-off-by: Yong Cong Sin <[email protected]>
  • Loading branch information
ycsin committed May 24, 2024
1 parent c11a318 commit 8ca7b6a
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/init/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
#include <zephyr/logging/log_ctrl.h>
#include <user/abi_dbg.h>
#include <sof_versions.h>
#include <version.h>
#include <zephyr/version.h>
#endif
#include <sof/lib/ams.h>

Expand Down
2 changes: 1 addition & 1 deletion src/ipc/ipc-zephyr.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
// Andrey Borisovich <[email protected]>
// Adrian Warecki <[email protected]>

#include <autoconf.h>
#include <zephyr/autoconf.h>

#include <intel_adsp_ipc.h>
#include <sof/ipc/common.h>
Expand Down
2 changes: 1 addition & 1 deletion src/trace/dma-trace.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
#include <sof_versions.h>

#ifdef __ZEPHYR__
#include <version.h>
#include <zephyr/version.h>
#endif

#include <errno.h>
Expand Down
2 changes: 1 addition & 1 deletion zephyr/lib/alloc.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
#include <zephyr/init.h>
#include <zephyr/kernel.h>
#include <zephyr/pm/policy.h>
#include <version.h>
#include <zephyr/version.h>
#include <zephyr/sys/__assert.h>
#include <zephyr/cache.h>

Expand Down
2 changes: 1 addition & 1 deletion zephyr/lib/cpu.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
#include <rtos/alloc.h>

/* Zephyr includes */
#include <version.h>
#include <zephyr/version.h>
#include <zephyr/kernel.h>
#include <zephyr/kernel/smp.h>
#include <zephyr/device.h>
Expand Down
2 changes: 1 addition & 1 deletion zephyr/wrapper.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
#include <zephyr/kernel_structs.h>
#include <zephyr/kernel.h>
#include <zephyr/pm/policy.h>
#include <version.h>
#include <zephyr/version.h>
#include <zephyr/sys/__assert.h>
#include <zephyr/logging/log_ctrl.h>
#include <zephyr/logging/log.h>
Expand Down

0 comments on commit 8ca7b6a

Please sign in to comment.