Lines Matching refs:modules
12 # 1) Find all modules from the files listed in $(MODVERDIR)/
32 # Step 4 is solely used to allow module versioning in external modules,
37 # KBUILD_MODPOST_NOFINAL can be set to skip the final link of modules.
45 # When building external modules load the Kbuild file to retreive EXTRA_SYMBOLS info
62 # Step 1), find all modules listed in $(MODVERDIR)/
64 modules := $(patsubst %.o,%.ko, $(wildcard $(__modules:.ko=.o)))
67 _modpost: $(if $(KBUILD_MODPOST_NOFINAL), $(modules:.ko:.o),$(modules))
86 quiet_cmd_modpost = MODPOST $(words $(filter-out vmlinux FORCE, $^)) modules
90 __modpost: $(modules:.ko=.o) FORCE
101 $(modules:.ko=.mod.c): __modpost ;
113 $(modules:.ko=.mod.o): %.mod.o: %.mod.c FORCE
116 targets += $(modules:.ko=.mod.o)
118 # Step 6), final link of the modules
124 $(modules): %.ko :%.o %.mod.o FORCE
127 targets += $(modules)