mirror of
https://github.com/godotengine/buildroot.git
synced 2025-12-31 09:48:56 +03:00
Remove Windows build option
Nobody downloaded the pre-build SDKs for Windows and cross-compiling GCC-13 is proving to be a bit of a problem.
This commit is contained in:
committed by
Hein-Pieter van Braam
parent
552ff0d1b3
commit
288f6f1a48
25
build-sdk.sh
25
build-sdk.sh
@@ -3,7 +3,7 @@ set -e
|
||||
|
||||
function usage() {
|
||||
echo "usage: $0 host target"
|
||||
echo " where host is one of linux-x86_64, windows-x86_64"
|
||||
echo " where host is one of linux-x86_64"
|
||||
echo " where target is one of i686, x86_64, armv7"
|
||||
exit 1
|
||||
}
|
||||
@@ -16,9 +16,6 @@ case $1 in
|
||||
linux-x86_64)
|
||||
host=$1
|
||||
;;
|
||||
windows-x86_64)
|
||||
host=$1
|
||||
;;
|
||||
*)
|
||||
echo "unknown SDK host \"$1\""
|
||||
usage
|
||||
@@ -79,24 +76,6 @@ function build_linux_sdk() {
|
||||
popd
|
||||
}
|
||||
|
||||
function build_windows_sdk() {
|
||||
${container} build -f Dockerfile.windows-builder -t godot-buildroot-builder-windows
|
||||
|
||||
if [ ! -e godot-toolchains/${toolchain_prefix}_sdk-buildroot.tar.bz2 ]; then
|
||||
build_linux_sdk
|
||||
fi
|
||||
|
||||
${container} run -it --rm -v $(pwd):/tmp/buildroot:z -w /tmp/buildroot --userns=keep-id godot-buildroot-builder-windows bash -x /usr/local/bin/build-windows.sh ${toolchain_prefix}
|
||||
}
|
||||
|
||||
if [ "${host}" == "linux-x86_64" ]; then
|
||||
build_linux_sdk
|
||||
fi
|
||||
|
||||
if [ "${host}" == "windows-x86_64" ]; then
|
||||
build_windows_sdk
|
||||
fi
|
||||
|
||||
echo
|
||||
echo "***************************************"
|
||||
echo "Build succesful your toolchain is in the godot-toolchains directory"
|
||||
echo "Build succesful your toolchain is in ehe godot-toolchains directory"
|
||||
|
||||
Reference in New Issue
Block a user