Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 34 lines (22 sloc) 710 Bytes
#!/bin/bash
set -e
prefix="arm-linux-gnueabihf"
gcc_filename="gcc-9.1.0.tar.xz"
isl_filename="isl-0.21.tar.bz2"
glibc_filename="glibc-2.29.tar.xz"
args=("$@")
function build() {
(cd "./${prefix}-$1" && makepkg -i "${args[@]}")
}
build binutils
build gcc-stage1
build linux-api-headers
build glibc-headers
ln -sf "../${prefix}-gcc-stage1/${gcc_filename}" "${prefix}-gcc-stage2/"
ln -sf "../${prefix}-gcc-stage1/${isl_filename}" "${prefix}-gcc-stage2/"
build gcc-stage2
ln -sf "../${prefix}-glibc-headers/${glibc_filename}" "${prefix}-glibc/"
build glibc
ln -sf "../${prefix}-gcc-stage2/${gcc_filename}" "${prefix}-gcc/"
ln -sf "../${prefix}-gcc-stage2/${isl_filename}" "${prefix}-gcc/"
build gcc
You can’t perform that action at this time.