mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-07-04 18:48:43 +08:00
51 lines
949 B
TOML
51 lines
949 B
TOML
[source]
|
|
git = "https://github.com/jackpot51/qemu.git"
|
|
|
|
[build]
|
|
template = "custom"
|
|
dependencies = [
|
|
"curl",
|
|
"gettext",
|
|
"glib",
|
|
"libffi",
|
|
"libiconv",
|
|
"libjpeg",
|
|
"liborbital",
|
|
"libpng",
|
|
"llvm18",
|
|
"mesa",
|
|
"nghttp2",
|
|
"openssl1",
|
|
"pcre",
|
|
"pixman",
|
|
"sdl2",
|
|
"sdl2-image",
|
|
"zlib",
|
|
]
|
|
script = """
|
|
COOKBOOK_CONFIGURE_FLAGS=(
|
|
--host="${TARGET}"
|
|
--prefix="/usr"
|
|
--cross-prefix="${TARGET}"
|
|
--static
|
|
--disable-coroutine-pool
|
|
--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
|
|
"""
|