tools-uclibc: accomodate new profile structure, bug #519686

This commit is contained in:
Anthony G. Basile 2014-08-17 08:14:15 -04:00
parent 83a682e6e7
commit 2d9492ca73
12 changed files with 21 additions and 7 deletions

View file

@ -18,6 +18,9 @@ prepare_confs() {
local parch="${arch}"
[[ "${arch}" == "ppc" ]] && tarch="powerpc"
local profile=${flavor}
[[ "${flavor}" == "vanilla" ]] && profile="default"
cat stage-all.conf.template | \
sed -e "s:\(^version_stamp.*$\):\1-${mydate}:" \
-e "s:CSTAGE:${cstage}:g" \
@ -26,6 +29,7 @@ prepare_confs() {
-e "s:PARCH:${parch}:g" \
-e "s:TARCH:${tarch}:g" \
-e "s:FLAVOR:${flavor}:g" \
-e "s:PROFILE:${profile}:g" \
-e "s:MYCATALYST:$(pwd):g" \
> stage${s}-${arch}-uclibc-${flavor}.conf
done