lh | 9ed821d | 2023-04-07 01:36:19 -0700 | [diff] [blame^] | 1 | mod := $(firstword $(extra-modules-left)) |
2 | extra-modules-left := $(strip $(filter-out $(mod),$(extra-modules-left))) | ||||
3 | |||||
4 | extra-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 | |||||
10 | ifneq (,$(extra-modules-left)) | ||||
11 | include extra-module.mk | ||||
12 | endif |