Lines Matching full:targets
9 # To see a list of typical targets execute "make help"
15 $(error targets prefixed with '__' are only for internal use))
27 # unavoidable when linking the built-in.a targets which finally
267 # To make sure we do not include .config for any of the *config targets
269 # It is allowed to specify more targets when calling make, including
270 # mixing *config targets and build targets.
272 # Detect when mixed targets is specified, and make a second invocation
277 clean-targets := %clean mrproper cleandocs
278 no-dot-config-targets := $(clean-targets) \
283 # Installation targets should not require compiler. Unfortunately, vdso_install
285 no-compiler-targets := $(no-dot-config-targets) install dtbs_install \
287 no-sync-config-targets := $(no-dot-config-targets) %install kernelrelease \
289 single-targets := %.a %.i %.rsi %.ko %.lds %.ll %.lst %.mod %.o %.s %.symtypes %/
298 ifneq ($(filter $(no-dot-config-targets), $(MAKECMDGOALS)),)
299 ifeq ($(filter-out $(no-dot-config-targets), $(MAKECMDGOALS)),)
304 ifneq ($(filter $(no-compiler-targets), $(MAKECMDGOALS)),)
305 ifeq ($(filter-out $(no-compiler-targets), $(MAKECMDGOALS)),)
310 ifneq ($(filter $(no-sync-config-targets), $(MAKECMDGOALS)),)
311 ifeq ($(filter-out $(no-sync-config-targets), $(MAKECMDGOALS)),)
329 # We cannot build single targets and the others at the same time
330 ifneq ($(filter $(single-targets), $(MAKECMDGOALS)),)
332 ifneq ($(filter-out $(single-targets), $(MAKECMDGOALS)),)
338 ifneq ($(filter $(clean-targets),$(MAKECMDGOALS)),)
339 ifneq ($(filter-out $(clean-targets),$(MAKECMDGOALS)),)
353 # We're called with mixed targets (*config and build targets).
628 # Rules shared between *config targets and build targets
676 # Include this also for config targets because some architectures need
684 # *config targets only - make sure prerequisites are updated, and descend
701 # Build targets only - this includes vmlinux, arch specific targets, clean
702 # targets and others. In general all targets except *config targets.
713 targets := macro
754 # Defaults to vmlinux, but the arch makefile usually adds further targets
791 # The syncconfig should be executed only once to make all the targets.
800 # External modules and some install targets need include/generated/autoconf.h
890 # Some targets (ARM with Thumb2, for example), can't be built with frame
1223 targets += vmlinux.a
1638 # Brief documentation of the typical targets used
1648 @echo 'Cleaning targets:'
1654 @echo 'Configuration targets:'
1657 @echo 'Other generic targets:'
1658 @echo ' all - Build all targets marked with [*]'
1703 @echo 'Rust targets:'
1729 @echo 'Userspace tools targets:'
1736 @echo 'Documentation targets:'
1739 @echo 'Architecture specific targets ($(SRCARCH)):'
1749 printf " %-16s - Show %s-specific targets\\n" help-$(b) $(b);) \
1753 @echo ' make V=0|1 [targets] 0 => quiet build (default), 1 => verbose build'
1754 @echo ' make V=2 [targets] 2 => give reason for rebuild of target'
1755 @echo ' make O=dir [targets] Locate all output files in "dir", including .config'
1756 @echo ' make C=1 [targets] Check re-compiled c source with $$CHECK'
1758 @echo ' make C=2 [targets] Force check of all c source with $$CHECK'
1759 @echo ' make RECORDMCOUNT_WARN=1 [targets] Warn about ignored mcount sections'
1760 @echo ' make W=n [targets] Enable extra build checks, n=1,2,3 where'
1767 @echo 'Execute "make" or "make all" to build all targets marked with [*] '
1778 @echo 'Architecture specific targets ($(SRCARCH) $*):'
1785 # Documentation targets
1794 # Rust targets
1804 # Using the singular to avoid running afoul of `no-dot-config-targets`.
1814 # Formatting targets
1834 # IDE support targets
1946 # Single targets
1952 # The supported suffixes for single-target are listed in 'single-targets'
2044 targets += $(extmod_prefix)compile_commands.json
2108 # read saved command lines for existing targets
2109 existing-targets := $(wildcard $(sort $(targets)))
2111 -include $(foreach f,$(existing-targets),$(dir $(f)).$(notdir $(f)).cmd)