mirror of
https://github.com/tailix/libkernaux.git
synced 2024-11-13 11:04:27 -05:00
Move cross-compiler to separate directory
This commit is contained in:
parent
3a3e5ffc79
commit
2b4eea9ef8
6 changed files with 37 additions and 32 deletions
21
.gitignore
vendored
21
.gitignore
vendored
|
@ -119,27 +119,6 @@
|
|||
|
||||
/vendor/*
|
||||
!/vendor/cross/
|
||||
!/vendor/fetch.sh
|
||||
!/vendor/limine
|
||||
!/vendor/opensbi
|
||||
!/vendor/sha256sums.txt
|
||||
!/vendor/u-boot
|
||||
!/vendor/wget.txt
|
||||
|
||||
/vendor/cross/*
|
||||
!/vendor/cross/build/
|
||||
|
||||
/vendor/cross/build/i386/binutils/*
|
||||
!/vendor/cross/build/i386/binutils/.keep
|
||||
/vendor/cross/build/i386/gcc/*
|
||||
!/vendor/cross/build/i386/gcc/.keep
|
||||
|
||||
/vendor/cross/build/riscv64/binutils/*
|
||||
!/vendor/cross/build/riscv64/binutils/.keep
|
||||
/vendor/cross/build/riscv64/gcc/*
|
||||
!/vendor/cross/build/riscv64/gcc/.keep
|
||||
|
||||
/vendor/cross/build/x86_64/binutils/*
|
||||
!/vendor/cross/build/x86_64/binutils/.keep
|
||||
/vendor/cross/build/x86_64/gcc/*
|
||||
!/vendor/cross/build/x86_64/gcc/.keep
|
||||
|
|
22
vendor/cross/.gitignore
vendored
Normal file
22
vendor/cross/.gitignore
vendored
Normal file
|
@ -0,0 +1,22 @@
|
|||
/*
|
||||
|
||||
!/.gitignore
|
||||
!/build/
|
||||
!/fetch.sh
|
||||
!/sha256sums.txt
|
||||
!/wget.txt
|
||||
|
||||
/build/i386/binutils/*
|
||||
!/build/i386/binutils/.keep
|
||||
/build/i386/gcc/*
|
||||
!/build/i386/gcc/.keep
|
||||
|
||||
/build/riscv64/binutils/*
|
||||
!/build/riscv64/binutils/.keep
|
||||
/build/riscv64/gcc/*
|
||||
!/build/riscv64/gcc/.keep
|
||||
|
||||
/build/x86_64/binutils/*
|
||||
!/build/x86_64/binutils/.keep
|
||||
/build/x86_64/gcc/*
|
||||
!/build/x86_64/gcc/.keep
|
13
vendor/cross/fetch.sh
vendored
Executable file
13
vendor/cross/fetch.sh
vendored
Executable file
|
@ -0,0 +1,13 @@
|
|||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
REPO="$(realpath "$(dirname "$(realpath "$0")")")"
|
||||
|
||||
cd "$REPO"
|
||||
|
||||
wget -nc -i 'wget.txt'
|
||||
sha256sum -c 'sha256sums.txt'
|
||||
|
||||
tar -xf 'binutils-2.37.tar.xz'
|
||||
tar -xf 'gcc-11.2.0.tar.xz'
|
|
@ -1,2 +1,2 @@
|
|||
820d9724f020a3e69cb337893a0b63c2db161dadcb0e06fc11dc29eb1e84a32c vendor/binutils-2.37.tar.xz
|
||||
d08edc536b54c372a1010ff6619dd274c0f1603aa49212ba20f7aa2cda36fa8b vendor/gcc-11.2.0.tar.xz
|
||||
820d9724f020a3e69cb337893a0b63c2db161dadcb0e06fc11dc29eb1e84a32c binutils-2.37.tar.xz
|
||||
d08edc536b54c372a1010ff6619dd274c0f1603aa49212ba20f7aa2cda36fa8b gcc-11.2.0.tar.xz
|
0
vendor/wget.txt → vendor/cross/wget.txt
vendored
0
vendor/wget.txt → vendor/cross/wget.txt
vendored
9
vendor/fetch.sh
vendored
9
vendor/fetch.sh
vendored
|
@ -1,9 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
wget -nc -i 'vendor/wget.txt' -P 'vendor'
|
||||
sha256sum -c 'vendor/sha256sums.txt'
|
||||
|
||||
tar -xf 'vendor/binutils-2.37.tar.xz' -C 'vendor'
|
||||
tar -xf 'vendor/gcc-11.2.0.tar.xz' -C 'vendor'
|
Loading…
Reference in a new issue