mirror of
https://github.com/godotengine/buildroot.git
synced 2026-01-05 14:09:53 +03:00
Fix build-sdk.sh container name for Linux host
And improve corresponding docs in the README.
This commit is contained in:
@@ -62,9 +62,10 @@ Afterwards the SDK will be in `output/images/<arch>-godot-linux-gnu_sdk-buildroo
|
||||
|
||||
This method uses a CentOS7 container to make the buildroot *itself* portable so it can be distributed to other users. This is also the way the downloads above are generated.
|
||||
|
||||
* run `./build-sdk.sh <arch>` for instance `x86_64`
|
||||
* run `./build-sdk.sh <host> <arch>` for instance `./build-sdk.sh linux-x86_64 x86_64`
|
||||
|
||||
The toolchain will appear in the `godot-toolchains` directory
|
||||
Run `./build-sdk.sh` without arguments to get a list of valid hosts and arches.
|
||||
The toolchain will appear in the `godot-toolchains` directory.
|
||||
|
||||
## Modifying the toolchain
|
||||
|
||||
|
||||
@@ -57,7 +57,7 @@ fi
|
||||
|
||||
function build_linux_sdk() {
|
||||
${container} build -f Dockerfile.linux-builder -t godot-buildroot-builder-linux
|
||||
${container} run -it --rm -v $(pwd):/tmp/buildroot -w /tmp/buildroot -e FORCE_UNSAFE_CONFIGURE=1 --userns=keep-id godot-buildroot-builder scl enable devtoolset-9 "bash -c make syncconfig; make clean sdk"
|
||||
${container} run -it --rm -v $(pwd):/tmp/buildroot -w /tmp/buildroot -e FORCE_UNSAFE_CONFIGURE=1 --userns=keep-id godot-buildroot-builder-linux scl enable devtoolset-9 "bash -c make syncconfig; make clean sdk"
|
||||
|
||||
mkdir -p godot-toolchains
|
||||
|
||||
|
||||
Reference in New Issue
Block a user