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:
|
Cross-compiling for the phone:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
packaging/make-sysroot.sh # once; no root, no qemu, no device
|
packaging/make-sysroot.sh
|
||||||
crafter-build -- --target=aarch64-alpine-linux-musl \
|
crafter-build -- --target=aarch64-alpine-linux-musl --sysroot=~/.cache/fingerprintd/sysroot-aarch64-alpine --march=armv8-a --mtune=generic
|
||||||
--sysroot=~/.cache/fingerprintd/sysroot-aarch64-alpine \
|
crafter-build test --target=aarch64-alpine-linux-musl --sysroot=~/.cache/fingerprintd/sysroot-aarch64-alpine --march=armv8-a --mtune=generic
|
||||||
--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
|
|
||||||
```
|
```
|
||||||
|
|
||||||
Verified on the device: all five suites pass cross-built and run on the phone
|
Verified on the device: all five suites pass cross-built and run on the phone
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue