Skip to content

Commit d62bbb1

Browse files
committed
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.
1 parent 12d3278 commit d62bbb1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ BUILD_STD = "-Zbuild-std=core,compiler_builtins,alloc"
1717
DEVICE_FEATURES = "noserial"
1818
QEMU_FEATURES = "qemu"
1919

20-
OBJCOPY = "cargo objcopy"
21-
OBJCOPY_PARAMS = "-- --strip-all -O binary"
20+
OBJCOPY = "rust-objcopy" # Part of `cargo objcopy` in cargo-binutils
21+
OBJCOPY_PARAMS = "--strip-all -O binary"
2222

2323
UTILS_CONTAINER = "andrerichter/raspi3-utils"
2424
DOCKER_CMD = "docker run -it --rm -v ${PWD}:/work -w /work -p 5900:5900"

0 commit comments

Comments
 (0)