blob: ecaf50762496586e4b2a36a698aa12e70b6530be [file] [log] [blame]
lh9ed821d2023-04-07 01:36:19 -07001mod := $(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