Lines Matching refs: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
258 # To make sure we do not include .config for any of the *config targets
260 # It is allowed to specify more targets when calling make, including
261 # mixing *config targets and build targets.
263 # Detect when mixed targets is specified, and make a second invocation
269 clean-targets := %clean mrproper cleandocs
270 no-dot-config-targets := $(clean-targets) \
275 no-sync-config-targets := $(no-dot-config-targets) %install kernelrelease \
277 single-targets := %.a %.i %.ko %.lds %.ll %.lst %.mod %.o %.s %.symtypes %/
285 ifneq ($(filter $(no-dot-config-targets), $(MAKECMDGOALS)),)
286 ifeq ($(filter-out $(no-dot-config-targets), $(MAKECMDGOALS)),)
291 ifneq ($(filter $(no-sync-config-targets), $(MAKECMDGOALS)),)
292 ifeq ($(filter-out $(no-sync-config-targets), $(MAKECMDGOALS)),)
310 # We cannot build single targets and the others at the same time
311 ifneq ($(filter $(single-targets), $(MAKECMDGOALS)),)
313 ifneq ($(filter-out $(single-targets), $(MAKECMDGOALS)),)
319 ifneq ($(filter $(clean-targets),$(MAKECMDGOALS)),)
320 ifneq ($(filter-out $(clean-targets),$(MAKECMDGOALS)),)
334 # We're called with mixed targets (*config and build targets).
542 # Rules shared between *config targets and build targets
586 # *config targets only - make sure prerequisites are updated, and descend
603 # Build targets only - this includes vmlinux, arch specific targets, clean
604 # targets and others. In general all targets except *config targets.
657 # Defaults to vmlinux, but the arch makefile usually adds further targets
711 # The syncconfig should be executed only once to make all the targets.
720 # External modules and some install targets need include/generated/autoconf.h
803 # Some targets (ARM with Thumb2, for example), can't be built with frame
1227 targets := vmlinux
1469 targets += modules.order
1572 # Brief documentation of the typical targets used
1582 @echo 'Cleaning targets:'
1588 @echo 'Configuration targets:'
1591 @echo 'Other generic targets:'
1592 @echo ' all - Build all targets marked with [*]'
1645 @echo 'Userspace tools targets:'
1652 @echo 'Documentation targets:'
1655 @echo 'Architecture specific targets ($(SRCARCH)):'
1665 printf " %-16s - Show %s-specific targets\\n" help-$(b) $(b);) \
1669 @echo ' make V=0|1 [targets] 0 => quiet build (default), 1 => verbose build'
1670 @echo ' make V=2 [targets] 2 => give reason for rebuild of target'
1671 @echo ' make O=dir [targets] Locate all output files in "dir", including .config'
1672 @echo ' make C=1 [targets] Check re-compiled c source with $$CHECK'
1674 @echo ' make C=2 [targets] Force check of all c source with $$CHECK'
1675 @echo ' make RECORDMCOUNT_WARN=1 [targets] Warn about ignored mcount sections'
1676 @echo ' make W=n [targets] Enable extra build checks, n=1,2,3 where'
1682 @echo 'Execute "make" or "make all" to build all targets marked with [*] '
1693 @echo 'Architecture specific targets ($(SRCARCH) $*):'
1700 # Documentation targets
1730 # The following are the only valid targets when building external
1804 # Single targets
1810 # The supported suffixes for single-target are listed in 'single-targets'
1904 targets += $(extmod-prefix)compile_commands.json
1982 # read saved command lines for existing targets
1983 existing-targets := $(wildcard $(sort $(targets)))
1985 -include $(foreach f,$(existing-targets),$(dir $(f)).$(notdir $(f)).cmd)