Lines 86-91
Link Here
|
86 |
# as out-of-tree builds will not be building in the same directory as |
86 |
# as out-of-tree builds will not be building in the same directory as |
87 |
# the configure script. |
87 |
# the configure script. |
88 |
# |
88 |
# |
|
|
89 |
# Non-abi-specific functionality is accomodated by an additional |
90 |
# set of callbacks, the multilib_<phase>_all functions. |
91 |
# |
92 |
# multilib_<phase>_all is called once only, after the per-ABI |
93 |
# multilib_src_<phase> functions complete, with BUILD_DIR and |
94 |
# the current working directory set to the same values as they |
95 |
# were when multilib-minimal_<phase> was invoked. |
96 |
# mutilib_src_configure is an exception; it runs before the |
97 |
# per-ABI configure steps. Consumers may also implement their |
98 |
# own phase functions, and invoke multilib-minimal_<phase> |
99 |
# directly; doing so is mostly equivalent to |
100 |
# implementing multilib_src_<phase>_all, although it may result |
101 |
# in more confusing code. |
102 |
# |
89 |
# EAPI >= 4 is required by multilib minimial, as without it, |
103 |
# EAPI >= 4 is required by multilib minimial, as without it, |
90 |
# the ${MULTILIB_USEDEP} variable cannot be correctly implemented. |
104 |
# the ${MULTILIB_USEDEP} variable cannot be correctly implemented. |
91 |
# |
105 |
# |
Lines 144-149
multilib-minimal_src_configure() {
Link Here
|
144 |
popd >/dev/null || die |
158 |
popd >/dev/null || die |
145 |
} |
159 |
} |
146 |
|
160 |
|
|
|
161 |
if declare -f multilib_src_configure_all > /dev/null ; then |
162 |
multilib_src_configure_all |
163 |
fi |
147 |
multilib_foreach_abi multilib-minimal_abi_src_configure |
164 |
multilib_foreach_abi multilib-minimal_abi_src_configure |
148 |
} |
165 |
} |
149 |
|
166 |
|
Lines 163-168
multilib-minimal_src_compile() {
Link Here
|
163 |
} |
180 |
} |
164 |
|
181 |
|
165 |
multilib_foreach_abi multilib-minimal_abi_src_compile |
182 |
multilib_foreach_abi multilib-minimal_abi_src_compile |
|
|
183 |
if declare -f multilib_src_compile_all > /dev/null ; then |
184 |
multilib_src_compile_all |
185 |
fi |
166 |
} |
186 |
} |
167 |
|
187 |
|
168 |
multilib-minimal_src_test() { |
188 |
multilib-minimal_src_test() { |
Lines 181-186
multilib-minimal_src_test() {
Link Here
|
181 |
} |
201 |
} |
182 |
|
202 |
|
183 |
multilib_foreach_abi multilib-minimal_abi_src_test |
203 |
multilib_foreach_abi multilib-minimal_abi_src_test |
|
|
204 |
if declare -f multilib_src_test_all >/dev/null ; then |
205 |
multilib_src_test_all |
206 |
fi |
184 |
} |
207 |
} |
185 |
|
208 |
|
186 |
multilib-minimal_src_install() { |
209 |
multilib-minimal_src_install() { |