mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-10-02 11:35:46 +00:00
scripts: dev_cli: Add --features
option
Let's officially have a way to pass the features used to build cloud-hypervisor to the dev_cli.sh script. This doesn't invalidate the previous commit, as we still don't what the features_build variable to be quoted, otherwise we face the following issue: ``` error: Found argument '--features tdx' which wasn't expected, or isn't valid in this context Did you mean --features? USAGE: cargo build --all --features <FEATURES>... ``` Signed-off-by: Fabiano Fidêncio <fabiano.fidencio@intel.com>
This commit is contained in:
parent
7dc9259c6c
commit
5343e09e7b
@ -241,6 +241,10 @@ cmd_build() {
|
|||||||
shift
|
shift
|
||||||
hypervisor="$1"
|
hypervisor="$1"
|
||||||
;;
|
;;
|
||||||
|
"--features")
|
||||||
|
shift
|
||||||
|
features_build="--features $1"
|
||||||
|
;;
|
||||||
"--") {
|
"--") {
|
||||||
shift
|
shift
|
||||||
break
|
break
|
||||||
|
Loading…
Reference in New Issue
Block a user