coconut-svsm / svsm

COCONUT-SVSM
MIT License
123 stars 43 forks source link

Makefile: respect `CARGO_ARGS` when building the igvmbuilder #238

Closed 00xc closed 10 months ago

00xc commented 10 months ago

When building the igvmbuilder binary, respect CARGO_ARGS, which potentially includes among other things the --release flag. This was causing an error when building in release mode, as the resulting binary was being placed in the debug build path, but the Makefile was expecting it to be placed in the release path:

/bin/sh: line 1: target/x86_64-unknown-linux-gnu/release/igvmbuilder: No such file or directory
make: *** [Makefile:44: bin/coconut-qemu.igvm] Error 127