Expand description
cargo xtask build-kobo โ cross-compile Cadmus for Kobo devices.
This task is a thin wrapper around cargo build --release --target arm-unknown-linux-gnueabihf -p cadmus. Most dependency
building (thirdparty libs, MuPDF, libwebp, mupdf_wrapper) is
handled automatically by build.rs when cargo build runs.
In addition, run() performs these eager preflight steps
before invoking cargo:
- Verify the Linaro ARM toolchain (
arm-linux-gnueabihf-gcc) is onPATH. - Initialize git submodules.
- Build SQLite from source with UDL support for the ARM target
(placed in
target/cadmus-build-deps/arm-unknown-linux-gnueabihf/sqlite/).
The Kobo build is only available on Linux and macOS hosts.
Structsยง
- Build
Kobo Args - Arguments for
cargo xtask build-kobo.
Functionsยง
- cargo_
build_ ๐kobo - ensure_
linaro_ ๐toolchain - run
- Cross-compiles Cadmus for Kobo ARM devices.