build: wget -> curl
This commit is contained in:
parent
81f4b86916
commit
3876645dd9
2
.github/workflows/main.yml
vendored
2
.github/workflows/main.yml
vendored
@ -23,7 +23,7 @@ jobs:
|
||||
run: echo "BRANCH_NAME=$(echo "$TAG_NAME" | grep -o 'v[0-9]\+\.')0-branch" >> $GITHUB_ENV
|
||||
|
||||
- name: Install dependencies
|
||||
run: sudo apt-get update && sudo apt-get install git build-essential nasm gcc-mingw-w64 gcc-multilib wget mtools -y
|
||||
run: sudo apt-get update && sudo apt-get install git build-essential nasm gcc-mingw-w64 gcc-multilib curl mtools -y
|
||||
|
||||
- name: Build the toolchain
|
||||
run: make toolchain
|
||||
|
2
Makefile
2
Makefile
@ -132,7 +132,7 @@ gnu-efi:
|
||||
|
||||
ovmf:
|
||||
mkdir -p ovmf
|
||||
cd ovmf && wget https://efi.akeo.ie/OVMF/OVMF-X64.zip && 7z x OVMF-X64.zip
|
||||
cd ovmf && curl -o OVMF-X64.zip https://efi.akeo.ie/OVMF/OVMF-X64.zip && 7z x OVMF-X64.zip
|
||||
|
||||
.PHONY: test.hdd
|
||||
test.hdd:
|
||||
|
@ -68,7 +68,7 @@ This step can take a long time, but it will ensure that the compiler will work w
|
||||
Limine. If on an x86_64 host, with GCC or Clang installed, you can also skip to the next paragraph.
|
||||
|
||||
The toolchain building process depends on the following packages: `bash`, `make`,
|
||||
`wget`, `gcc`, `g++`, `GNU binutils`.
|
||||
`curl`, `gcc`, `g++`, `GNU binutils`.
|
||||
|
||||
Building the toolchain can be accomplished by running:
|
||||
```bash
|
||||
|
@ -17,10 +17,10 @@ export MAKEFLAGS="$2"
|
||||
export PATH="$PREFIX/bin:$PATH"
|
||||
|
||||
if [ ! -f binutils-$BINUTILSVERSION.tar.gz ]; then
|
||||
wget https://ftp.gnu.org/gnu/binutils/binutils-$BINUTILSVERSION.tar.gz
|
||||
curl -o binutils-$BINUTILSVERSION.tar.gz https://ftp.gnu.org/gnu/binutils/binutils-$BINUTILSVERSION.tar.gz
|
||||
fi
|
||||
if [ ! -f gcc-$GCCVERSION.tar.gz ]; then
|
||||
wget https://ftp.gnu.org/gnu/gcc/gcc-$GCCVERSION/gcc-$GCCVERSION.tar.gz
|
||||
curl -o gcc-$GCCVERSION.tar.gz https://ftp.gnu.org/gnu/gcc/gcc-$GCCVERSION/gcc-$GCCVERSION.tar.gz
|
||||
fi
|
||||
|
||||
rm -rf build
|
||||
|
Loading…
Reference in New Issue
Block a user