Lines Matching defs: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
264 # To make sure we do not include .config for any of the *config targets
266 # It is allowed to specify more targets when calling make, including
267 # mixing *config targets and build targets.
269 # Detect when mixed targets is specified, and make a second invocation
274 clean-targets := %clean mrproper cleandocs
275 no-dot-config-targets := $(clean-targets) \
280 # Installation targets should not require compiler. Unfortunately, vdso_install
282 no-compiler-targets := $(no-dot-config-targets) install dtbs_install \
284 no-sync-config-targets := $(no-dot-config-targets) %install modules_sign kernelrelease \
286 single-targets := %.a %.i %.ko %.lds %.ll %.lst %.mod %.o %.rsi %.s %.symtypes %/
295 ifneq ($(filter $(no-dot-config-targets), $(MAKECMDGOALS)),)
296 ifeq ($(filter-out $(no-dot-config-targets), $(MAKECMDGOALS)),)
301 ifneq ($(filter $(no-compiler-targets), $(MAKECMDGOALS)),)
302 ifeq ($(filter-out $(no-compiler-targets), $(MAKECMDGOALS)),)
307 ifneq ($(filter $(no-sync-config-targets), $(MAKECMDGOALS)),)
308 ifeq ($(filter-out $(no-sync-config-targets), $(MAKECMDGOALS)),)
326 # We cannot build single targets and the others at the same time
327 ifneq ($(filter $(single-targets), $(MAKECMDGOALS)),)
329 ifneq ($(filter-out $(single-targets), $(MAKECMDGOALS)),)
335 ifneq ($(filter $(clean-targets),$(MAKECMDGOALS)),)
336 ifneq ($(filter-out $(clean-targets),$(MAKECMDGOALS)),)
350 # 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 :=
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
861 # Some targets (ARM with Thumb2, for example), can't be built with frame
1140 targets += vmlinux.a
1540 # Brief documentation of the typical targets used
1550 @echo 'Cleaning targets:'
1558 @echo 'Other generic targets:'
1559 @echo ' all - Build all targets marked with [*]'
1604 @echo 'Rust targets:'
1630 @echo 'Userspace tools targets:'
1637 @echo 'Documentation targets:'
1640 @echo 'Architecture specific targets ($(SRCARCH)):'
1650 printf " %-16s - Show %s-specific targets\\n" help-$(b) $(b);) \
1654 @echo ' make V=n [targets] 1: verbose build'
1657 @echo ' make O=dir [targets] Locate all output files in "dir", including .config'
1658 @echo ' make C=1 [targets] Check re-compiled c source with $$CHECK'
1660 @echo ' make C=2 [targets] Force check of all c source with $$CHECK'
1661 @echo ' make RECORDMCOUNT_WARN=1 [targets] Warn about ignored mcount sections'
1662 @echo ' make W=n [targets] Enable extra build checks, n=1,2,3 where'
1669 echo ' make CHECK_DTBS=1 [targets] Check all generated dtb files against schema'; \
1670 echo ' This can be applied both to "dtbs" and to individual "foo.dtb" targets' ; \
1673 @echo 'Execute "make" or "make all" to build all targets marked with [*] '
1684 @echo 'Architecture specific targets ($(SRCARCH) $*):'
1691 # Documentation targets
1700 # Rust targets
1710 # Using the singular to avoid running afoul of `no-dot-config-targets`.
1720 # Formatting targets
1867 # Single targets
1873 # The supported suffixes for single-target are listed in 'single-targets'
1949 # IDE support targets
1973 targets += $(extmod_prefix)compile_commands.json
2041 # read saved command lines for existing targets
2042 existing-targets := $(wildcard $(sort $(targets)))
2044 -include $(foreach f,$(existing-targets),$(dir $(f)).$(notdir $(f)).cmd)