252
253
254
255
256
257
258
259
260
261
262
263
264
265
|
for rt in $(scan mod/$mod "*.rt.$target.s"); do
base="$(basename $rt)"
dest="$to/$mod.${base%%.s}.o"
comp_asm "$rt" "$dest"
rt_objects+=("$dest")
done
done
# fourth pass: link the libraries that are
# configured to be built
if test $build_static_library == yes; then
for obj in ${fn_objects[@]} ${rt_objects[@]} ${data_objects[@]}; do
|
|
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
|
for rt in $(scan mod/$mod "*.rt.$target.s"); do
base="$(basename $rt)"
dest="$to/$mod.${base%%.s}.o"
comp_asm "$rt" "$dest"
rt_objects+=("$dest")
done
done
# Compile just the error lists for all modules, regardless of enabled modules
for errs in $(scan mod "err.c"); do
base="$(basename $(dirname $errs))"
dest="$to/$base.err.o"
comp_co "$errs" "$dest"
data_objects+=("$dest")
done
# fourth pass: link the libraries that are
# configured to be built
if test $build_static_library == yes; then
for obj in ${fn_objects[@]} ${rt_objects[@]} ${data_objects[@]}; do
|