libk  Diff

Differences From Artifact [e58e880af0]:

To Artifact [773f649c53]:


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