Эх сурвалжийг харах

Clean before building to avoid getting the wrong binary somehow.

Andrew Walbran 2 жил өмнө
parent
commit
0dd44d8a3f

+ 2 - 0
examples/aarch64/Makefile

@@ -21,9 +21,11 @@ env:
 	rustup target add $(target)
 
 kernel_qemu:
+	cargo clean
 	cargo build $(BUILD_ARGS) --config 'build.rustflags="--cfg platform=\"qemu\""'
 
 kernel_crosvm:
+	cargo clean
 	cargo build $(BUILD_ARGS) --config 'build.rustflags="--cfg platform=\"crosvm\""'
 
 $(kernel_qemu_bin): kernel_qemu