1mod := $(firstword $(extra-modules-left))
2extra-modules-left := $(strip $(filter-out $(mod),$(extra-modules-left)))
3
4extra-objs := $(extra-objs) $(patsubst %,%.os,$($(mod)-routines))
5
6$(objpfx)$(mod).so: $(addprefix $(objpfx),$(addsuffix .os,$($(mod)-routines)))\
7		    $(shlib-lds) $(link-libc-deps)
8	$(build-module-asneeded)
9
10ifneq (,$(extra-modules-left))
11include extra-module.mk
12endif
13