This commit is contained in:
parent
e6fcdb3a0d
commit
09b50bdabf
1 changed files with 3 additions and 6 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue