tools-uclibc: update arm build for new 17.0 profiles

This commit is contained in:
Anthony G. Basile 2018-10-05 07:40:04 -04:00
parent 779e2b84eb
commit 4cabd6aced
4 changed files with 18 additions and 9 deletions

View file

@ -0,0 +1 @@
=sys-apps/iproute2-4.18.0 ~arm

View file

@ -0,0 +1 @@
=sys-apps/iproute2-4.18.0 ~arm

View file

@ -13,24 +13,24 @@ prepare_confs() {
[[ $p == 0 ]] && p=3
local pstage=stage${p}
local tarch="${arch%_hardfp}"
local parch="arm/${tarch}"
local parch="arm"
local float
[[ "${arch}" == "${tarch}" ]] \
&& float="softfp" \
|| float="hardfloat"
&& float="" \
|| float="hf"
local profile=${flavor}
[[ "${flavor}" == "vanilla" ]] && profile="default"
[[ "${flavor}" == "vanilla" ]] && profile="" || profile="/hardened"
cat stage-all.conf.template | \
cat stage.conf.template | \
sed -e "s:\(^version_stamp.*$\):\1-${mydate}:" \
-e "s:CSTAGE:${cstage}:g" \
-e "s:PSTAGE:${pstage}:g" \
-e "s:SARCH:${arch}:g" \
-e "s:PARCH:${parch}:g" \
-e "s:TARCH:${tarch}:g" \
-e "s:gentoo-linux-uclibc:${float}-linux-uclibceabi:" \
-e "s:gentoo-linux-uclibc:unknown-linux-uclibceabi${float}:" \
-e "s:FLAVOR:${flavor}:g" \
-e "s:PROFILE:${profile}:g" \
-e "s:MYCATALYST:$(pwd):g" \
@ -46,8 +46,6 @@ prepare_confs() {
main() {
>zzz.log
catalyst -s current | tee -a zzz.log >snapshot.log 2>snapshot.err
# for arch in armv7a_hardfp armv7a; do
@ -57,7 +55,7 @@ main() {
done
done
# No parallelization for arm. Its too hard on the cpu!
# No parallelization for arm. Its too hard on the cpu!
# for arch in armv7a_hardfp armv7a; do
for arch in armv7a_hardfp; do
for flavor in hardened vanilla; do

View file

@ -0,0 +1,9 @@
subarch: SARCH
target: CSTAGE
version_stamp: uclibc-FLAVOR
rel_type: uclibc/FLAVOR/SARCH
profile: default/linux/PARCH/17.0/uclibc/TARCHPROFILE
snapshot: current
source_subpath: uclibc/FLAVOR/SARCH/PSTAGE-SARCH-uclibc-FLAVOR
chost: TARCH-gentoo-linux-uclibc
portage_confdir: MYCATALYST/portage.SARCH.FLAVOR