Lines Matching full:targets

9 # To see a list of typical targets execute "make help"
19 $(error targets prefixed with '__' are only for internal use))
31 # unavoidable when linking the built-in.a targets which finally
261 # To make sure we do not include .config for any of the *config targets
263 # It is allowed to specify more targets when calling make, including
264 # mixing *config targets and build targets.
266 # Detect when mixed targets is specified, and make a second invocation
271 clean-targets := %clean mrproper cleandocs
272 no-dot-config-targets := $(clean-targets) \
277 no-sync-config-targets := $(no-dot-config-targets) %install modules_sign kernelrelease \
279 single-targets := %.a %.i %.ko %.lds %.ll %.lst %.mod %.o %.rsi %.s %.symtypes %/
287 ifneq ($(filter $(no-dot-config-targets), $(MAKECMDGOALS)),)
288 ifeq ($(filter-out $(no-dot-config-targets), $(MAKECMDGOALS)),)
293 ifneq ($(filter $(no-sync-config-targets), $(MAKECMDGOALS)),)
294 ifeq ($(filter-out $(no-sync-config-targets), $(MAKECMDGOALS)),)
314 # We cannot build single targets and the others at the same time
315 ifneq ($(filter $(single-targets), $(MAKECMDGOALS)),)
317 ifneq ($(filter-out $(single-targets), $(MAKECMDGOALS)),)
323 ifneq ($(filter $(clean-targets),$(MAKECMDGOALS)),)
324 ifneq ($(filter-out $(clean-targets),$(MAKECMDGOALS)),)
338 # We're called with mixed targets (*config and build targets).
608 # Rules shared between *config targets and build targets
658 # Include this also for config targets because some architectures need
666 # *config targets only - make sure prerequisites are updated, and descend
683 # Build targets only - this includes vmlinux, arch-specific targets, clean
684 # targets and others. In general all targets except *config targets.
695 targets :=
736 # Defaults to vmlinux, but the arch makefile usually adds further targets
773 # The syncconfig should be executed only once to make all the targets.
782 # External modules and some install targets need include/generated/autoconf.h
843 # Some targets (ARM with Thumb2, for example), can't be built with frame
1141 targets += vmlinux.a
1559 # Brief documentation of the typical targets used
1569 @echo 'Cleaning targets:'
1577 @echo 'Other generic targets:'
1578 @echo ' all - Build all targets marked with [*]'
1625 @echo 'Rust targets:'
1652 @echo 'Userspace tools targets:'
1659 @echo 'Documentation targets:'
1662 @echo 'Architecture-specific targets ($(SRCARCH)):'
1672 printf " %-16s - Show %s-specific targets\\n" help-$(b) $(b);) \
1676 @echo ' make V=n [targets] 1: verbose build'
1679 @echo ' make O=dir [targets] Locate all output files in "dir", including .config'
1680 @echo ' make C=1 [targets] Check re-compiled c source with $$CHECK'
1682 @echo ' make C=2 [targets] Force check of all c source with $$CHECK'
1683 @echo ' make RECORDMCOUNT_WARN=1 [targets] Warn about ignored mcount sections'
1684 @echo ' make W=n [targets] Enable extra build checks, n=1,2,3,c,e where'
1692 echo ' make CHECK_DTBS=1 [targets] Check all generated dtb files against schema'; \
1693 echo ' This can be applied both to "dtbs" and to individual "foo.dtb" targets' ; \
1696 @echo 'Execute "make" or "make all" to build all targets marked with [*] '
1707 @echo 'Architecture-specific targets ($(SRCARCH) $*):'
1714 # Documentation targets
1723 # Rust targets
1733 # Using the singular to avoid running afoul of `no-dot-config-targets`.
1743 # Formatting targets
1890 # Single targets
1896 # The supported suffixes for single-target are listed in 'single-targets'
1999 targets += $(extmod_prefix)compile_commands.json
2068 # read saved command lines for existing targets
2069 existing-targets := $(wildcard $(sort $(targets)))
2071 -include $(foreach f,$(existing-targets),$(dir $(f)).$(notdir $(f)).cmd)