Lines Matching full:modules
13 # 1) Find all modules from the files listed in $(MODVERDIR)/
33 # Step 4 is solely used to allow module versioning in external modules,
38 # KBUILD_MODPOST_NOFINAL can be set to skip the final link of modules.
46 # When building external modules load the Kbuild file to retrieve EXTRA_SYMBOLS info
63 # Step 1), find all modules listed in $(MODVERDIR)/
66 modules := $(patsubst %.o,%.ko, $(wildcard $(__modules:.ko=.o)))
69 _modpost: $(if $(KBUILD_MODPOST_NOFINAL), $(modules:.ko:.o),$(modules))
87 quiet_cmd_modpost = MODPOST $(words $(filter-out vmlinux FORCE, $^)) modules
91 __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)
120 # Step 6), final link of the modules with optional arch pass after final link
128 $(modules): %.ko :%.o %.mod.o FORCE
131 targets += $(modules)