Skip to content

Commit

Permalink
lmdk: adding paths for headers in example module
Browse files Browse the repository at this point in the history
As an example there is a need to show how to include headers

Signed-off-by: Dobrowolski, PawelX <[email protected]>
  • Loading branch information
pjdobrowolski committed Apr 22, 2024
1 parent 1964c3c commit e991f4a
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions lmdk/modules/dummy/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,18 @@ target_sources(dummy PRIVATE dummy.c)
set_target_properties(dummy PROPERTIES
HPSRAM_ADDR "0xa06a1000"
)

target_compile_definitions(dummy PRIVATE CONFIG_XTENSA=1
CONFIG_IPC_MAJOR_4=1
CONFIG_LIBRARY=1
XCHAL_HAVE_HIFI3=1
SOF_MODULE_API_PRIVATE=1)

set(LMDK_DIR_INCLUDE ../../../lmdk/include)

target_include_directories(dummy PRIVATE "${LMDK_DIR_INCLUDE}"
"${LMDK_DIR_INCLUDE}/src/include"
"${LMDK_DIR_INCLUDE}/src/include/sof/audio/module_adapter/iadk"
"${LMDK_DIR_INCLUDE}/posix/include"
"${LMDK_DIR_INCLUDE}/posix/include/sof"
)

0 comments on commit e991f4a

Please sign in to comment.