Lines Matching refs:subdir
21 subdir-y :=
22 subdir-m :=
33 subdir-asflags-y :=
34 subdir-ccflags-y :=
51 $(warning You cannot use subdir-y/m to visit a module Makefile. Use obj-y/m instead.)
58 subdir-builtin := $(sort $(filter %/built-in.a, $(real-obj-y)))
59 subdir-modorder := $(sort $(filter %/modules.order, $(obj-m)))
354 targets += $(filter-out $(subdir-builtin), $(real-obj-y))
355 targets += $(filter-out $(subdir-modorder), $(real-obj-m))
380 $(subdir-builtin): $(obj)/%/built-in.a: $(obj)/% ;
381 $(subdir-modorder): $(obj)/%/modules.order: $(obj)/% ;
461 $(subdir-ym) $(always-y)
467 single-subdirs := $(foreach d, $(subdir-ym), $(if $(filter $d/%, $(MAKECMDGOALS)), $d))
468 single-subdir-goals := $(filter $(addsuffix /%, $(single-subdirs)), $(MAKECMDGOALS))
470 $(single-subdir-goals): $(single-subdirs)
476 PHONY += $(subdir-ym)
477 $(subdir-ym):
479 need-builtin=$(if $(filter $@/built-in.a, $(subdir-builtin)),1) \
480 need-modorder=$(if $(filter $@/modules.order, $(subdir-modorder)),1) \
481 $(filter $@/%, $(single-subdir-goals))
490 targets += $(filter-out $(single-subdir-goals), $(MAKECMDGOALS))