build/bin/bump_crossdev

21 lines
446 B
Bash

#!/bin/bash
ARCHES=(
armv7a-hardfloat-linux-gnueabi
armv7a-unknown-linux-gnueabi
armv6j-hardfloat-linux-gnueabi
)
GCC_VER="--g ~4.7.3"
LIBC_VER="--l ~2.17"
K_VER="--k ~3.7"
BINUTILS_VER="--b =2.23*"
for a in "${ARCHES[@]}"; do
# USE="-fortran" or glibc will fail to compile
USE="-fortran -gtk" crossdev -t "${a}" \
-oS "/usr/local/portage" \
-oO "/usr/local/portage" \
${GCC_VER} ${LIBC_VER} ${K_VER} ${BINUTILS_VER} || exit 1
done