1
0
Fork 0
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:
Alex Kotov 2022-01-17 22:43:19 +05:00
parent 3a3e5ffc79
commit 2b4eea9ef8
Signed by: kotovalexarian
GPG key ID: 553C0EBBEB5D5F08
6 changed files with 37 additions and 32 deletions

21
.gitignore vendored
View file

@ -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
View 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
View 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'

View file

@ -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

9
vendor/fetch.sh vendored
View file

@ -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'