mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-20 11:54:17 +08:00
18 lines
489 B
Bash
18 lines
489 B
Bash
#!/usr/bin/env bash
|
|
|
|
# Download the bootstrap script
|
|
curl -sf https://gitlab.redox-os.org/redox-os/redox/raw/master/bootstrap.sh -o bootstrap.sh
|
|
# Update Ubuntu/Debian-based systems
|
|
bash -e bootstrap.sh -d
|
|
# Update the Rust toolchain
|
|
rustup update || true
|
|
# Change the active directory to the root of the build system
|
|
cd ..
|
|
# Update the build system source and submodules
|
|
make pull
|
|
# Update the relibc folder timestamp
|
|
touch relibc
|
|
# Update relibc
|
|
make prefix
|
|
# Update recipes
|
|
make rebuild |