7 |
# be verbose or nor (true|false} |
# be verbose or nor (true|false} |
8 |
: ${MULTILIB_VERBOSE="true"} |
: ${MULTILIB_VERBOSE="true"} |
9 |
|
|
10 |
|
# enter SRCDIR of each abi an abi runs |
11 |
|
: ${ABI_DO_NOT_ENTER_SRCDIR="true"} |
12 |
|
|
13 |
# multilib should call all dependant includes, which gets overridden |
# multilib should call all dependant includes, which gets overridden |
14 |
sminclude mtools |
sminclude mtools |
15 |
|
|
185 |
# export this for mpatch etc (to repect only-${abi}) |
# export this for mpatch etc (to repect only-${abi}) |
186 |
export MULTILIB_ONLY_ABI=${abi} |
export MULTILIB_ONLY_ABI=${abi} |
187 |
|
|
188 |
cd ${SRCDIR}-${abi}/${SRCSUBDIR} |
if [[ ${ABI_DO_NOT_ENTER_SRCDIR} != true ]] |
189 |
|
then |
190 |
|
cd ${SRCDIR}-${abi}/${SRCSUBDIR} |
191 |
|
fi |
192 |
abi-${abi} $@ || die |
abi-${abi} $@ || die |
193 |
|
|
194 |
# unset this is very important |
# unset this is very important |
209 |
# export this for mpatch etc (to repect only-${abi}) |
# export this for mpatch etc (to repect only-${abi}) |
210 |
export MULTILIB_ONLY_ABI=${abi} |
export MULTILIB_ONLY_ABI=${abi} |
211 |
|
|
212 |
cd ${SRCDIR}-${abi}/${SRCSUBDIR} |
if [[ ${ABI_DO_NOT_ENTER_SRCDIR} != true ]] |
213 |
|
then |
214 |
|
cd ${SRCDIR}-${abi}/${SRCSUBDIR} |
215 |
|
fi |
216 |
abi-${abi} $@ || die |
abi-${abi} $@ || die |
217 |
|
|
218 |
# unset this is very important |
# unset this is very important |
226 |
local abi |
local abi |
227 |
for abi in ${MULTILIB_ABIS} |
for abi in ${MULTILIB_ABIS} |
228 |
do |
do |
229 |
cd ${SRCDIR}-${abi}/${SRCSUBDIR} |
if [[ ${ABI_DO_NOT_ENTER_SRCDIR} != true ]] |
230 |
|
then |
231 |
|
cd ${SRCDIR}-${abi}/${SRCSUBDIR} |
232 |
|
fi |
233 |
abi-${abi} $@ || die |
abi-${abi} $@ || die |
234 |
done |
done |
235 |
} |
} |