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:
		
							parent
							
								
									af1cc83530
								
							
						
					
					
						commit
						50b0613f5c
					
				| 
						 | 
					@ -17,8 +17,8 @@ BUILD_STD = "-Zbuild-std=core,compiler_builtins,alloc"
 | 
				
			||||||
DEVICE_FEATURES = "noserial"
 | 
					DEVICE_FEATURES = "noserial"
 | 
				
			||||||
QEMU_FEATURES = "qemu"
 | 
					QEMU_FEATURES = "qemu"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
OBJCOPY = "cargo objcopy"
 | 
					OBJCOPY = "rust-objcopy" # Part of `cargo objcopy` in cargo-binutils
 | 
				
			||||||
OBJCOPY_PARAMS = "-- --strip-all -O binary"
 | 
					OBJCOPY_PARAMS = "--strip-all -O binary"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
UTILS_CONTAINER = "andrerichter/raspi3-utils"
 | 
					UTILS_CONTAINER = "andrerichter/raspi3-utils"
 | 
				
			||||||
DOCKER_CMD = "docker run -it --rm -v ${PWD}:/work -w /work -p 5900:5900"
 | 
					DOCKER_CMD = "docker run -it --rm -v ${PWD}:/work -w /work -p 5900:5900"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue