diff --git a/README.md b/README.md index b05e6ea..d44e754 100644 --- a/README.md +++ b/README.md @@ -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