mod := $(firstword $(extra-modules-left)) extra-modules-left := $(strip $(filter-out $(mod),$(extra-modules-left))) extra-objs := $(extra-objs) $(patsubst %,%.os,$($(mod)-routines)) $(objpfx)$(mod).so: $(addprefix $(objpfx),$(addsuffix .os,$($(mod)-routines)))\ $(link-libc-deps) $(build-module-asneeded) ifneq (,$(extra-modules-left)) include extra-module.mk endif