Use rust-objcopy tool

Since cargo-binutils 0.3.1 the `cargo objcopy` causes a build before
copying files, this doesn't work for test-runner.
We only need the actual objcopy tool, not the cargo infra here.
This commit is contained in:
Berkus Decker 2020-09-20 20:07:12 +03:00
parent af1cc83530
commit 50b0613f5c
1 changed files with 2 additions and 2 deletions

View File

@ -17,8 +17,8 @@ BUILD_STD = "-Zbuild-std=core,compiler_builtins,alloc"
DEVICE_FEATURES = "noserial"
QEMU_FEATURES = "qemu"
OBJCOPY = "cargo objcopy"
OBJCOPY_PARAMS = "-- --strip-all -O binary"
OBJCOPY = "rust-objcopy" # Part of `cargo objcopy` in cargo-binutils
OBJCOPY_PARAMS = "--strip-all -O binary"
UTILS_CONTAINER = "andrerichter/raspi3-utils"
DOCKER_CMD = "docker run -it --rm -v ${PWD}:/work -w /work -p 5900:5900"