sof/lmdk
Adrian Warecki cb1542dd51 lmdk: Fix build of module common functions
CMakeLists.txt file of common modules files use isZephyr macro which was
undefined on lmdk build scripts.

Signed-off-by: Adrian Warecki <adrian.warecki@intel.com>
2023-11-28 16:45:15 +02:00
..
cmake lmdk: Fix build of module common functions 2023-11-28 16:45:15 +02:00
include
libraries/dummy module: module_adapter: lmdk: Improved module type detection 2023-11-28 16:45:15 +02:00
modules/dummy
README.md

README.md

Loadable Modules Dev Kit

TODO: add link to the documentation repo!

To build dummy loadable library execute:

cd libraries/dummy
cmake -B build -G <Ninja/Makefile> -DRIMAGE_INSTALL_DIR="path/where/rimage/executable/is" -DSNIGNING_KEY="path/to/key"
cd --build build

Here RIMAGE_INSTALL_DIR is a path to directory where rimage executable is, SIGNING_KEY is a path to signing key for rimage. If RIMAGE_INSTALL_DIR is not provided, rimage will be searched for in the directory where SOF project installs it. Dummy module sets up toolchain file in the project file. However, in your library you can select toolchain file in the configure step command:

cmake -B build -G <Ninja/Makefile> --toolchain "../../cmake/xtensa-toolchain.cmake" -DSNIGNING_KEY="path/to/key"