summaryrefslogtreecommitdiff
path: root/bin/bump_crossdev
blob: 668b8175b10ab153a48e8f6756a9083f4059a8f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/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