Lines Matching refs:modules
130 $(error building multiple external modules is not supported))
632 __all: modules
642 ifeq ($(MAKECMDGOALS),modules)
650 ifneq ($(filter all modules nsdeps %compile_commands.json clang-%,$(MAKECMDGOALS)),)
1085 MODLIB = $(INSTALL_MOD_PATH)/lib/modules/$(KERNELRELEASE)
1091 export MODORDER := $(extmod_prefix)modules.order
1092 export MODULES_NSDEPS := $(extmod_prefix)modules.nsdeps
1106 subdir-modorder := $(addsuffix modules.order,$(filter %/, \
1139 autoksyms_recursive: descend modules.order
1422 all: modules
1437 PHONY += modules
1438 modules: $(if $(KBUILD_BUILTIN),vmlinux) modules_check modules_prepare target
1442 modules.order: $(subdir-modorder) FORCE
1445 targets += modules.order
1482 @sed 's:^:kernel/:' modules.order > $(MODLIB)/modules.order
1483 @cp -f modules.builtin $(MODLIB)/
1484 @cp -f $(objtree)/modules.builtin.modinfo $(MODLIB)/
1496 CLEAN_FILES += include/ksym vmlinux.symvers modules-only.symvers \
1497 modules.builtin modules.builtin.modinfo modules.nsdeps \
1725 clean: rm-files := $(KBUILD_EXTMOD)/Module.symvers $(KBUILD_EXTMOD)/modules.nsdeps \
1756 PHONY += modules modules_install
1760 modules: modules_check target
1765 $(Q)$(CONFIG_SHELL) $(srctree)/scripts/modules-check.sh $<
1780 modules modules_install: target
1816 MODORDER := .modules.tmp
1886 nsdeps: modules