Lines Matching refs: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
277 # To make sure we do not include .config for any of the *config targets
279 # It is allowed to specify more targets when calling make, including
280 # mixing *config targets and build targets.
282 # Detect when mixed targets is specified, and make a second invocation
287 clean-targets := %clean mrproper cleandocs
288 no-dot-config-targets := $(clean-targets) \
293 no-sync-config-targets := $(no-dot-config-targets) %install modules_sign kernelrelease \
295 single-targets := %.a %.i %.ko %.lds %.ll %.lst %.mod %.o %.rsi %.s %.symtypes %/
303 ifneq ($(filter $(no-dot-config-targets), $(MAKECMDGOALS)),)
304 ifeq ($(filter-out $(no-dot-config-targets), $(MAKECMDGOALS)),)
309 ifneq ($(filter $(no-sync-config-targets), $(MAKECMDGOALS)),)
310 ifeq ($(filter-out $(no-sync-config-targets), $(MAKECMDGOALS)),)
330 # We cannot build single targets and the others at the same time
331 ifneq ($(filter $(single-targets), $(MAKECMDGOALS)),)
333 ifneq ($(filter-out $(single-targets), $(MAKECMDGOALS)),)
339 ifneq ($(filter $(clean-targets),$(MAKECMDGOALS)),)
340 ifneq ($(filter-out $(clean-targets),$(MAKECMDGOALS)),)
354 # We're called with mixed targets (*config and build targets).
626 # Rules shared between *config targets and build targets
674 # Include this also for config targets because some architectures need
682 # *config targets only - make sure prerequisites are updated, and descend
699 # Build targets only - this includes vmlinux, arch-specific targets, clean
700 # targets and others. In general all targets except *config targets.
711 targets :=
752 # Defaults to vmlinux, but the arch makefile usually adds further targets
789 # The syncconfig should be executed only once to make all the targets.
798 # External modules and some install targets need include/generated/autoconf.h
859 # Some targets (ARM with Thumb2, for example), can't be built with frame
1146 targets += vmlinux.a
1557 # Brief documentation of the typical targets used
1567 @echo 'Cleaning targets:'
1575 @echo 'Other generic targets:'
1576 @echo ' all - Build all targets marked with [*]'
1623 @echo 'Rust targets:'
1650 @echo 'Userspace tools targets:'
1657 @echo 'Documentation targets:'
1660 @echo 'Architecture-specific targets ($(SRCARCH)):'
1670 printf " %-16s - Show %s-specific targets\\n" help-$(b) $(b);) \
1674 @echo ' make V=n [targets] 1: verbose build'
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,c,e where'
1690 echo ' make CHECK_DTBS=1 [targets] Check all generated dtb files against schema'; \
1691 echo ' This can be applied both to "dtbs" and to individual "foo.dtb" targets' ; \
1694 @echo 'Execute "make" or "make all" to build all targets marked with [*] '
1705 @echo 'Architecture-specific targets ($(SRCARCH) $*):'
1712 # Documentation targets
1721 # Rust targets
1731 # Using the singular to avoid running afoul of `no-dot-config-targets`.
1741 # Formatting targets
1888 # Single targets
1894 # The supported suffixes for single-target are listed in 'single-targets'
1970 # IDE support targets
1994 targets += $(extmod_prefix)compile_commands.json
2063 # read saved command lines for existing targets
2064 existing-targets := $(wildcard $(sort $(targets)))
2066 -include $(foreach f,$(existing-targets),$(dir $(f)).$(notdir $(f)).cmd)