tools-musl: update to reflect new musl profile structure

This commit is contained in:
Anthony G. Basile 2017-12-12 22:43:45 -05:00
parent c19080d5f4
commit 69afbb3382
12 changed files with 21 additions and 7 deletions

View file

@ -20,6 +20,9 @@ prepare_confs() {
&& float="softfp" \
|| float="hardfloat"
local profile=${flavor}
[[ "${flavor}" == "vanilla" ]] && profile="default"
cat stage-all.conf.template | \
sed -e "s:\(^version_stamp.*$\):\1-${mydate}:" \
-e "s:CSTAGE:${cstage}:g" \
@ -29,6 +32,7 @@ prepare_confs() {
-e "s:TARCH:${tarch}:g" \
-e "s:gentoo-linux-musl:${float}-linux-musleabi:" \
-e "s:FLAVOR:${flavor}:g" \
-e "s:PROFILE:${profile}:g" \
-e "s:MYCATALYST:$(pwd):g" \
> stage${s}-${arch}-musl-${flavor}.conf