tools-musl: update to reflect new musl profile structure
This commit is contained in:
parent
c19080d5f4
commit
69afbb3382
12 changed files with 21 additions and 7 deletions
|
@ -15,6 +15,9 @@ prepare_confs() {
|
|||
local tarch="${arch%3}"
|
||||
local parch="mips/${tarch}"
|
||||
|
||||
local profile=${flavor}
|
||||
[[ "${flavor}" == "vanilla" ]] && profile="default"
|
||||
|
||||
cat stage-all.conf.template | \
|
||||
sed -e "s:\(^version_stamp.*$\):\1-${mydate}:" \
|
||||
-e "s:CSTAGE:${cstage}:g" \
|
||||
|
@ -23,6 +26,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" \
|
||||
-e "s|^cflags:.*|cflags: -O2 -march=mips3 -mplt -Wa,-mfix-loongson2f-nop -pipe|" \
|
||||
-e "s|^cxxflags:.*|cxxflags: -O2 -march=mips3 -mplt -Wa,-mfix-loongson2f-nop -pipe|" \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue