2023-03-31 00:12:29 +08:00
|
|
|
# Loadable Modules Dev Kit
|
|
|
|
|
|
|
|
***TODO: add link to the documentation repo!***
|
|
|
|
|
|
|
|
To build dummy loadable library execute:
|
|
|
|
|
|
|
|
cd libraries/dummy
|
2024-07-18 22:02:55 +08:00
|
|
|
cmake -B build -G <Ninja/Makefile> -DRIMAGE_INSTALL_DIR="path/where/rimage/executable/is" -DSIGNING_KEY="path/to/key"
|
2023-05-04 21:02:17 +08:00
|
|
|
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:
|
|
|
|
|
2024-07-18 22:02:55 +08:00
|
|
|
cmake -B build -G <Ninja/Makefile> --toolchain "../../cmake/xtensa-toolchain.cmake" -DSIGNING_KEY="path/to/key"
|