tools-uclibc: accomodate new profile structure, bug #519686
This commit is contained in:
parent
83a682e6e7
commit
2d9492ca73
|
@ -1 +0,0 @@
|
||||||
hardened
|
|
|
@ -1 +0,0 @@
|
||||||
hardened
|
|
|
@ -1 +0,0 @@
|
||||||
hardened
|
|
|
@ -1 +0,0 @@
|
||||||
hardened
|
|
|
@ -1 +0,0 @@
|
||||||
hardened
|
|
|
@ -1 +0,0 @@
|
||||||
hardened
|
|
|
@ -20,6 +20,9 @@ prepare_confs() {
|
||||||
&& float="softfp" \
|
&& float="softfp" \
|
||||||
|| float="hardfloat"
|
|| float="hardfloat"
|
||||||
|
|
||||||
|
local profile=${flavor}
|
||||||
|
[[ "${flavor}" == "vanilla" ]] && profile="default"
|
||||||
|
|
||||||
cat stage-all.conf.template | \
|
cat stage-all.conf.template | \
|
||||||
sed -e "s:\(^version_stamp.*$\):\1-${mydate}:" \
|
sed -e "s:\(^version_stamp.*$\):\1-${mydate}:" \
|
||||||
-e "s:CSTAGE:${cstage}:g" \
|
-e "s:CSTAGE:${cstage}:g" \
|
||||||
|
@ -29,6 +32,7 @@ prepare_confs() {
|
||||||
-e "s:TARCH:${tarch}:g" \
|
-e "s:TARCH:${tarch}:g" \
|
||||||
-e "s:gentoo-linux-uclibc:${float}-linux-uclibceabi:" \
|
-e "s:gentoo-linux-uclibc:${float}-linux-uclibceabi:" \
|
||||||
-e "s:FLAVOR:${flavor}:g" \
|
-e "s:FLAVOR:${flavor}:g" \
|
||||||
|
-e "s:PROFILE:${profile}:g" \
|
||||||
-e "s:MYCATALYST:$(pwd):g" \
|
-e "s:MYCATALYST:$(pwd):g" \
|
||||||
> stage${s}-${arch}-uclibc-${flavor}.conf
|
> stage${s}-${arch}-uclibc-${flavor}.conf
|
||||||
|
|
||||||
|
|
|
@ -15,6 +15,9 @@ prepare_confs() {
|
||||||
local tarch="${arch%32r2}"
|
local tarch="${arch%32r2}"
|
||||||
local parch="${tarch}"
|
local parch="${tarch}"
|
||||||
|
|
||||||
|
local profile=${flavor}
|
||||||
|
[[ "${flavor}" == "vanilla" ]] && profile="default"
|
||||||
|
|
||||||
cat stage-all.conf.template | \
|
cat stage-all.conf.template | \
|
||||||
sed -e "s:\(^version_stamp.*$\):\1-${mydate}:" \
|
sed -e "s:\(^version_stamp.*$\):\1-${mydate}:" \
|
||||||
-e "s:CSTAGE:${cstage}:g" \
|
-e "s:CSTAGE:${cstage}:g" \
|
||||||
|
@ -23,6 +26,7 @@ prepare_confs() {
|
||||||
-e "s:PARCH:${parch}:g" \
|
-e "s:PARCH:${parch}:g" \
|
||||||
-e "s:TARCH:${tarch}:g" \
|
-e "s:TARCH:${tarch}:g" \
|
||||||
-e "s:FLAVOR:${flavor}:g" \
|
-e "s:FLAVOR:${flavor}:g" \
|
||||||
|
-e "s:PROFILE:${profile}:g" \
|
||||||
-e "s:MYCATALYST:$(pwd):g" \
|
-e "s:MYCATALYST:$(pwd):g" \
|
||||||
> stage${s}-${arch}-uclibc-${flavor}.conf
|
> stage${s}-${arch}-uclibc-${flavor}.conf
|
||||||
done
|
done
|
||||||
|
|
|
@ -15,6 +15,9 @@ prepare_confs() {
|
||||||
local tarch="${arch%3}"
|
local tarch="${arch%3}"
|
||||||
local parch="mips/${tarch}"
|
local parch="mips/${tarch}"
|
||||||
|
|
||||||
|
local profile=${flavor}
|
||||||
|
[[ "${flavor}" == "vanilla" ]] && profile="default"
|
||||||
|
|
||||||
cat stage-all.conf.template | \
|
cat stage-all.conf.template | \
|
||||||
sed -e "s:\(^version_stamp.*$\):\1-${mydate}:" \
|
sed -e "s:\(^version_stamp.*$\):\1-${mydate}:" \
|
||||||
-e "s:CSTAGE:${cstage}:g" \
|
-e "s:CSTAGE:${cstage}:g" \
|
||||||
|
@ -23,6 +26,7 @@ prepare_confs() {
|
||||||
-e "s:PARCH:${parch}:g" \
|
-e "s:PARCH:${parch}:g" \
|
||||||
-e "s:TARCH:${tarch}:g" \
|
-e "s:TARCH:${tarch}:g" \
|
||||||
-e "s:FLAVOR:${flavor}:g" \
|
-e "s:FLAVOR:${flavor}:g" \
|
||||||
|
-e "s:PROFILE:${profile}:g" \
|
||||||
-e "s:MYCATALYST:$(pwd):g" \
|
-e "s:MYCATALYST:$(pwd):g" \
|
||||||
> stage${s}-${arch}-uclibc-${flavor}.conf
|
> stage${s}-${arch}-uclibc-${flavor}.conf
|
||||||
done
|
done
|
||||||
|
|
|
@ -18,6 +18,9 @@ prepare_confs() {
|
||||||
local parch="${arch}"
|
local parch="${arch}"
|
||||||
[[ "${arch}" == "ppc" ]] && tarch="powerpc"
|
[[ "${arch}" == "ppc" ]] && tarch="powerpc"
|
||||||
|
|
||||||
|
local profile=${flavor}
|
||||||
|
[[ "${flavor}" == "vanilla" ]] && profile="default"
|
||||||
|
|
||||||
cat stage-all.conf.template | \
|
cat stage-all.conf.template | \
|
||||||
sed -e "s:\(^version_stamp.*$\):\1-${mydate}:" \
|
sed -e "s:\(^version_stamp.*$\):\1-${mydate}:" \
|
||||||
-e "s:CSTAGE:${cstage}:g" \
|
-e "s:CSTAGE:${cstage}:g" \
|
||||||
|
@ -26,6 +29,7 @@ prepare_confs() {
|
||||||
-e "s:PARCH:${parch}:g" \
|
-e "s:PARCH:${parch}:g" \
|
||||||
-e "s:TARCH:${tarch}:g" \
|
-e "s:TARCH:${tarch}:g" \
|
||||||
-e "s:FLAVOR:${flavor}:g" \
|
-e "s:FLAVOR:${flavor}:g" \
|
||||||
|
-e "s:PROFILE:${profile}:g" \
|
||||||
-e "s:MYCATALYST:$(pwd):g" \
|
-e "s:MYCATALYST:$(pwd):g" \
|
||||||
> stage${s}-${arch}-uclibc-${flavor}.conf
|
> stage${s}-${arch}-uclibc-${flavor}.conf
|
||||||
done
|
done
|
||||||
|
|
|
@ -19,6 +19,9 @@ prepare_confs() {
|
||||||
local tarch="${arch}"
|
local tarch="${arch}"
|
||||||
[[ "${arch}" == "amd64" ]] && tarch="x86_64"
|
[[ "${arch}" == "amd64" ]] && tarch="x86_64"
|
||||||
|
|
||||||
|
local profile=${flavor}
|
||||||
|
[[ "${flavor}" == "vanilla" ]] && profile="default"
|
||||||
|
|
||||||
cat stage-all.conf.template | \
|
cat stage-all.conf.template | \
|
||||||
sed -e "s:\(^version_stamp.*$\):\1-${mydate}:" \
|
sed -e "s:\(^version_stamp.*$\):\1-${mydate}:" \
|
||||||
-e "s:CSTAGE:${cstage}:g" \
|
-e "s:CSTAGE:${cstage}:g" \
|
||||||
|
@ -27,6 +30,7 @@ prepare_confs() {
|
||||||
-e "s:PARCH:${parch}:g" \
|
-e "s:PARCH:${parch}:g" \
|
||||||
-e "s:TARCH:${tarch}:g" \
|
-e "s:TARCH:${tarch}:g" \
|
||||||
-e "s:FLAVOR:${flavor}:g" \
|
-e "s:FLAVOR:${flavor}:g" \
|
||||||
|
-e "s:PROFILE:${profile}:g" \
|
||||||
-e "s:MYCATALYST:$(pwd):g" \
|
-e "s:MYCATALYST:$(pwd):g" \
|
||||||
> stage${s}-${arch}-uclibc-${flavor}.conf
|
> stage${s}-${arch}-uclibc-${flavor}.conf
|
||||||
done
|
done
|
||||||
|
|
|
@ -2,7 +2,7 @@ subarch: SARCH
|
||||||
target: CSTAGE
|
target: CSTAGE
|
||||||
version_stamp: uclibc-FLAVOR
|
version_stamp: uclibc-FLAVOR
|
||||||
rel_type: uclibc/FLAVOR/SARCH
|
rel_type: uclibc/FLAVOR/SARCH
|
||||||
profile: hardened/linux/uclibc/PARCH
|
profile: PROFILE/linux/uclibc/PARCH
|
||||||
snapshot: current
|
snapshot: current
|
||||||
source_subpath: uclibc/FLAVOR/SARCH/PSTAGE-SARCH-uclibc-FLAVOR
|
source_subpath: uclibc/FLAVOR/SARCH/PSTAGE-SARCH-uclibc-FLAVOR
|
||||||
chost: TARCH-gentoo-linux-uclibc
|
chost: TARCH-gentoo-linux-uclibc
|
||||||
|
|
Loading…
Reference in a new issue