mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-24 22:04:19 +08:00
qemu: only build one system binary for current architecture
This commit is contained in:
parent
e854b403f5
commit
dd83c1a374
@ -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
|
||||
"""
|
||||
|
||||
Loading…
Reference in New Issue
Block a user