readme
All checks were successful
package / package (push) Successful in 1m30s

This commit is contained in:
Jorijn van der Graaf 2026-09-05 22:35:23 +02:00
commit 09b50bdabf

View file

@ -18,12 +18,9 @@ crafter-build test # the unit suites
Cross-compiling for the phone:
```sh
packaging/make-sysroot.sh # once; no root, no qemu, no device
crafter-build -- --target=aarch64-alpine-linux-musl \
--sysroot=~/.cache/fingerprintd/sysroot-aarch64-alpine \
--march=armv8-a --mtune=generic
crafter-build test --target=aarch64-alpine-linux-musl --sysroot=... \
--march=armv8-a --mtune=generic # runs the suites under qemu-aarch64
packaging/make-sysroot.sh
crafter-build -- --target=aarch64-alpine-linux-musl --sysroot=~/.cache/fingerprintd/sysroot-aarch64-alpine --march=armv8-a --mtune=generic
crafter-build test --target=aarch64-alpine-linux-musl --sysroot=~/.cache/fingerprintd/sysroot-aarch64-alpine --march=armv8-a --mtune=generic
```
Verified on the device: all five suites pass cross-built and run on the phone