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).
658 # Rules shared between *config targets and build targets
736 # Include this also for config targets because some architectures need
744 # *config targets only - make sure prerequisites are updated, and descend
761 # Build targets only - this includes vmlinux, arch-specific targets, clean
762 # targets and others. In general all targets except *config targets.
773 targets := macro
826 # Defaults to vmlinux, but the arch makefile usually adds further targets
896 # The syncconfig should be executed only once to make all the targets.
905 # External modules and some install targets need include/generated/autoconf.h
968 # Some targets (ARM with Thumb2, for example), can't be built with frame
1312 targets += vmlinux.a
1760 # Brief documentation of the typical targets used
1770 @echo 'Cleaning targets:'
1778 @echo 'Other generic targets:'
1779 @echo ' all - Build all targets marked with [*]'
1826 @echo 'Rust targets:'
1853 @echo 'Userspace tools targets:'
1860 @echo 'Documentation targets:'
1863 @echo 'Architecture-specific targets ($(SRCARCH)):'
1873 printf " %-16s - Show %s-specific targets\\n" help-$(b) $(b);) \
1877 @echo ' make V=n [targets] 1: verbose build'
1880 @echo ' make O=dir [targets] Locate all output files in "dir", including .config'
1881 @echo ' make C=1 [targets] Check re-compiled c source with $$CHECK'
1883 @echo ' make C=2 [targets] Force check of all c source with $$CHECK'
1884 @echo ' make RECORDMCOUNT_WARN=1 [targets] Warn about ignored mcount sections'
1885 @echo ' make W=n [targets] Enable extra build checks, n=1,2,3,c,e where'
1892 @echo ' make UT=1 [targets] Warn if a tracepoint is defined but not used.'
1895 echo ' make CHECK_DTBS=1 [targets] Check all generated dtb files against schema'; \
1896 echo ' This can be applied both to "dtbs" and to individual "foo.dtb" targets' ; \
1899 @echo 'Execute "make" or "make all" to build all targets marked with [*] '
1910 @echo 'Architecture-specific targets ($(SRCARCH) $*):'
1917 # Documentation targets
1928 # Rust targets
1938 # Using the singular to avoid running afoul of `no-dot-config-targets`.
1948 # Formatting targets
2095 # Single targets
2101 # The supported suffixes for single-target are listed in 'single-targets'
2211 targets += compile_commands.json
2277 # read saved command lines for existing targets
2278 existing-targets := $(wildcard $(sort $(targets)))
2280 -include $(foreach f,$(existing-targets),$(dir $(f)).$(notdir $(f)).cmd)