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
255 # To make sure we do not include .config for any of the *config targets
257 # It is allowed to specify more targets when calling make, including
258 # mixing *config targets and build targets.
260 # Detect when mixed targets is specified, and make a second invocation
265 clean-targets := %clean mrproper cleandocs
266 no-dot-config-targets := $(clean-targets) \
271 # Installation targets should not require compiler. Unfortunately, vdso_install
273 no-compiler-targets := $(no-dot-config-targets) install dtbs_install \
275 no-sync-config-targets := $(no-dot-config-targets) %install kernelrelease \
277 single-targets := %.a %.i %.ko %.lds %.ll %.lst %.mod %.o %.s %.symtypes %/
286 ifneq ($(filter $(no-dot-config-targets), $(MAKECMDGOALS)),)
287 ifeq ($(filter-out $(no-dot-config-targets), $(MAKECMDGOALS)),)
292 ifneq ($(filter $(no-compiler-targets), $(MAKECMDGOALS)),)
293 ifeq ($(filter-out $(no-compiler-targets), $(MAKECMDGOALS)),)
298 ifneq ($(filter $(no-sync-config-targets), $(MAKECMDGOALS)),)
299 ifeq ($(filter-out $(no-sync-config-targets), $(MAKECMDGOALS)),)
317 # We cannot build single targets and the others at the same time
318 ifneq ($(filter $(single-targets), $(MAKECMDGOALS)),)
320 ifneq ($(filter-out $(single-targets), $(MAKECMDGOALS)),)
326 ifneq ($(filter $(clean-targets),$(MAKECMDGOALS)),)
327 ifneq ($(filter-out $(clean-targets),$(MAKECMDGOALS)),)
341 # We're called with mixed targets (*config and build targets).
547 # Rules shared between *config targets and build targets
595 # Include this also for config targets because some architectures need
603 # *config targets only - make sure prerequisites are updated, and descend
620 # Build targets only - this includes vmlinux, arch specific targets, clean
621 # targets and others. In general all targets except *config targets.
674 # Defaults to vmlinux, but the arch makefile usually adds further targets
722 # The syncconfig should be executed only once to make all the targets.
731 # External modules and some install targets need include/generated/autoconf.h
817 # Some targets (ARM with Thumb2, for example), can't be built with frame
1185 targets := vmlinux
1467 targets += modules.order
1578 # Brief documentation of the typical targets used
1588 @echo 'Cleaning targets:'
1594 @echo 'Configuration targets:'
1597 @echo 'Other generic targets:'
1598 @echo ' all - Build all targets marked with [*]'
1651 @echo 'Userspace tools targets:'
1658 @echo 'Documentation targets:'
1661 @echo 'Architecture specific targets ($(SRCARCH)):'
1671 printf " %-16s - Show %s-specific targets\\n" help-$(b) $(b);) \
1675 @echo ' make V=0|1 [targets] 0 => quiet build (default), 1 => verbose build'
1676 @echo ' make V=2 [targets] 2 => give reason for rebuild of target'
1677 @echo ' make O=dir [targets] Locate all output files in "dir", including .config'
1678 @echo ' make C=1 [targets] Check re-compiled c source with $$CHECK'
1680 @echo ' make C=2 [targets] Force check of all c source with $$CHECK'
1681 @echo ' make RECORDMCOUNT_WARN=1 [targets] Warn about ignored mcount sections'
1682 @echo ' make W=n [targets] Enable extra build checks, n=1,2,3 where'
1688 @echo 'Execute "make" or "make all" to build all targets marked with [*] '
1699 @echo 'Architecture specific targets ($(SRCARCH) $*):'
1706 # Documentation targets
1812 # Single targets
1818 # The supported suffixes for single-target are listed in 'single-targets'
1922 targets += $(extmod_prefix)compile_commands.json
1986 # read saved command lines for existing targets
1987 existing-targets := $(wildcard $(sort $(targets)))
1989 -include $(foreach f,$(existing-targets),$(dir $(f)).$(notdir $(f)).cmd)