Skip to content

Commit

Permalink
drivers: tee: optee: add include for kernel_arch_interface
Browse files Browse the repository at this point in the history
Build fails with the following error:
> fatal error: kernel_arch_interface.h: No such file or directory

It was found that required header is placed in
${ZEPHYR_BASE}/kernel/include directory so add it to the CMakeLists file.

Signed-off-by: Oleksii Moisieiev <[email protected]>
Reviewed-by: Volodymyr Babchuk <[email protected]>
Acked-by: Dmytro Firsov <[email protected]>
  • Loading branch information
oleksiimoisieiev authored and firscity committed Jun 17, 2024
1 parent 0b83be0 commit 648fe16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/tee/optee/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ zephyr_library()

zephyr_library_sources(optee.c)

zephyr_library_include_directories(${ZEPHYR_BASE}/arch/${ARCH}/include)
zephyr_library_include_directories(${ZEPHYR_BASE}/arch/${ARCH}/include ${ZEPHYR_BASE}/kernel/include)

0 comments on commit 648fe16

Please sign in to comment.