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)))
316 targets += $(filter-out $(subdir-builtin), $(real-obj-y))
317 targets += $(filter-out $(subdir-modorder), $(real-obj-m))
342 $(subdir-builtin): $(obj)/%/built-in.a: $(obj)/% ;
343 $(subdir-modorder): $(obj)/%/modules.order: $(obj)/% ;
423 $(subdir-ym) $(always-y)
429 single-subdirs := $(foreach d, $(subdir-ym), $(if $(filter $d/%, $(MAKECMDGOALS)), $d))
430 single-subdir-goals := $(filter $(addsuffix /%, $(single-subdirs)), $(MAKECMDGOALS))
432 $(single-subdir-goals): $(single-subdirs)
438 PHONY += $(subdir-ym)
439 $(subdir-ym):
441 need-builtin=$(if $(filter $@/built-in.a, $(subdir-builtin)),1) \
442 need-modorder=$(if $(filter $@/modules.order, $(subdir-modorder)),1) \
443 $(filter $@/%, $(single-subdir-goals))
452 targets += $(filter-out $(single-subdir-goals), $(MAKECMDGOALS))