Lines Matching refs:targets
20 targets :=
76 targets-for-builtin := $(extra-y)
79 targets-for-builtin += $(obj)/lib.a
83 targets-for-builtin += $(obj)/built-in.a
86 targets-for-modules := $(foreach x, o mod, \
90 targets-for-modules += $(obj)/modules.order
93 targets += $(targets-for-builtin) $(targets-for-modules)
287 # i.e. the outputs we would get for the different single targets (e.g. `.ll`)
364 targets += $(filter-out $(subdir-builtin), $(real-obj-y))
365 targets += $(filter-out $(subdir-modorder), $(real-obj-m))
366 targets += $(real-dtb-y) $(lib-y) $(always-y)
386 # Build the compiled-in targets
446 # Add intermediate targets:
448 # targets that the final targets are derived from.
451 $(filter %$(strip $(1)), $(targets))))
457 targets += $(call intermediate_targets, .asn1.o, .asn1.c .asn1.h) \
466 $(obj)/: $(if $(KBUILD_BUILTIN), $(targets-for-builtin)) \
467 $(if $(KBUILD_MODULES), $(targets-for-modules)) \
471 # Single targets
497 targets += $(filter-out $(single-subdir-goals), $(MAKECMDGOALS))
498 targets := $(filter-out $(PHONY), $(targets))
500 # Read all saved command lines and dependencies for the $(targets) we
505 existing-targets := $(wildcard $(sort $(targets)))
507 -include $(foreach f,$(existing-targets),$(dir $(f)).$(notdir $(f)).cmd)
510 obj-dirs := $(sort $(patsubst %/,%, $(dir $(targets))))
511 # If targets exist, their directories apparently exist. Skip mkdir.
512 existing-dirs := $(sort $(patsubst %/,%, $(dir $(existing-targets))))