diff --git a/recipes/wip/vm/qemu/recipe.toml b/recipes/wip/vm/qemu/recipe.toml index 3bf327f95f31d13409973be67dee7b9c4f3095f0..ed8cd3856ca583de11710b58590c493554641940 100644 --- a/recipes/wip/vm/qemu/recipe.toml +++ b/recipes/wip/vm/qemu/recipe.toml @@ -30,5 +30,20 @@ COOKBOOK_CONFIGURE_FLAGS=( --static --disable-tpm ) +case "${TARGET}" in + aarch64-unknown-redox) + COOKBOOK_CONFIGURE_FLAGS+=(--target-list=aarch64-softmmu) + ;; + i686-unknown-redox) + COOKBOOK_CONFIGURE_FLAGS+=(--target-list=i386-softmmu) + ;; + x86_64-unknown-redox) + COOKBOOK_CONFIGURE_FLAGS+=(--target-list=x86_64-softmmu) + ;; + *) + echo "unsupported target ${TARGET}" + exit 1 + ;; +esac cookbook_configure """