Lines Matching full: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
283 # To make sure we do not include .config for any of the *config targets
285 # It is allowed to specify more targets when calling make, including
286 # mixing *config targets and build targets.
288 # Detect when mixed targets is specified, and make a second invocation
293 clean-targets := %clean mrproper cleandocs
294 no-dot-config-targets := $(clean-targets) \
300 no-sync-config-targets := $(no-dot-config-targets) %install modules_sign kernelrelease \
302 single-targets := %.a %.i %.ko %.lds %.ll %.lst %.mod %.o %.rsi %.s %/
310 ifneq ($(filter $(no-dot-config-targets), $(MAKECMDGOALS)),)
311 ifeq ($(filter-out $(no-dot-config-targets), $(MAKECMDGOALS)),)
316 ifneq ($(filter $(no-sync-config-targets), $(MAKECMDGOALS)),)
317 ifeq ($(filter-out $(no-sync-config-targets), $(MAKECMDGOALS)),)
337 # We cannot build single targets and the others at the same time
338 ifneq ($(filter $(single-targets), $(MAKECMDGOALS)),)
340 ifneq ($(filter-out $(single-targets), $(MAKECMDGOALS)),)
346 ifneq ($(filter $(clean-targets),$(MAKECMDGOALS)),)
347 ifneq ($(filter-out $(clean-targets),$(MAKECMDGOALS)),)
361 # We're called with mixed targets (*config and build targets).
654 # Rules shared between *config targets and build targets
726 # Include this also for config targets because some architectures need
734 # *config targets only - make sure prerequisites are updated, and descend
751 # Build targets only - this includes vmlinux, arch-specific targets, clean
752 # targets and others. In general all targets except *config targets.
763 targets := macro
804 # Defaults to vmlinux, but the arch makefile usually adds further targets
860 # The syncconfig should be executed only once to make all the targets.
869 # External modules and some install targets need include/generated/autoconf.h
932 # Some targets (ARM with Thumb2, for example), can't be built with frame
1274 targets += vmlinux.a
1722 # Brief documentation of the typical targets used
1732 @echo 'Cleaning targets:'
1740 @echo 'Other generic targets:'
1741 @echo ' all - Build all targets marked with [*]'
1788 @echo 'Rust targets:'
1815 @echo 'Userspace tools targets:'
1822 @echo 'Documentation targets:'
1825 @echo 'Architecture-specific targets ($(SRCARCH)):'
1835 printf " %-16s - Show %s-specific targets\\n" help-$(b) $(b);) \
1839 @echo ' make V=n [targets] 1: verbose build'
1842 @echo ' make O=dir [targets] Locate all output files in "dir", including .config'
1843 @echo ' make C=1 [targets] Check re-compiled c source with $$CHECK'
1845 @echo ' make C=2 [targets] Force check of all c source with $$CHECK'
1846 @echo ' make RECORDMCOUNT_WARN=1 [targets] Warn about ignored mcount sections'
1847 @echo ' make W=n [targets] Enable extra build checks, n=1,2,3,c,e where'
1854 @echo ' make UT=1 [targets] Warn if a tracepoint is defined but not used.'
1857 echo ' make CHECK_DTBS=1 [targets] Check all generated dtb files against schema'; \
1858 echo ' This can be applied both to "dtbs" and to individual "foo.dtb" targets' ; \
1861 @echo 'Execute "make" or "make all" to build all targets marked with [*] '
1872 @echo 'Architecture-specific targets ($(SRCARCH) $*):'
1879 # Documentation targets
1890 # Rust targets
1900 # Using the singular to avoid running afoul of `no-dot-config-targets`.
1910 # Formatting targets
2057 # Single targets
2063 # The supported suffixes for single-target are listed in 'single-targets'
2173 targets += compile_commands.json
2239 # read saved command lines for existing targets
2240 existing-targets := $(wildcard $(sort $(targets)))
2242 -include $(foreach f,$(existing-targets),$(dir $(f)).$(notdir $(f)).cmd)