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) \
302 no-sync-config-targets := $(no-dot-config-targets) %install modules_sign kernelrelease \
304 single-targets := %.a %.i %.ko %.lds %.ll %.lst %.mod %.o %.rsi %.s %/
312 ifneq ($(filter $(no-dot-config-targets), $(MAKECMDGOALS)),)
313 ifeq ($(filter-out $(no-dot-config-targets), $(MAKECMDGOALS)),)
318 ifneq ($(filter $(no-sync-config-targets), $(MAKECMDGOALS)),)
319 ifeq ($(filter-out $(no-sync-config-targets), $(MAKECMDGOALS)),)
339 # We cannot build single targets and the others at the same time
340 ifneq ($(filter $(single-targets), $(MAKECMDGOALS)),)
342 ifneq ($(filter-out $(single-targets), $(MAKECMDGOALS)),)
348 ifneq ($(filter $(clean-targets),$(MAKECMDGOALS)),)
349 ifneq ($(filter-out $(clean-targets),$(MAKECMDGOALS)),)
363 # We're called with mixed targets (*config and build targets).
669 # Rules shared between *config targets and build targets
745 # Include this also for config targets because some architectures need
753 # *config targets only - make sure prerequisites are updated, and descend
770 # Build targets only - this includes vmlinux, arch-specific targets, clean
771 # targets and others. In general all targets except *config targets.
782 targets := macro
835 # Defaults to vmlinux, but the arch makefile usually adds further targets
899 # The syncconfig should be executed only once to make all the targets.
908 # External modules and some install targets need include/generated/autoconf.h
974 # Some targets (ARM with Thumb2, for example), can't be built with frame
1830 # Brief documentation of the typical targets used
1840 @echo 'Cleaning targets:'
1848 @echo 'Other generic targets:'
1849 @echo ' all - Build all targets marked with [*]'
1898 @echo 'Rust targets:'
1926 @echo 'Userspace tools targets:'
1933 @echo 'Documentation targets:'
1936 @echo 'Architecture-specific targets ($(SRCARCH)):'
1946 printf " %-16s - Show %s-specific targets\\n" help-$(b) $(b);) \
1950 @echo ' make V=n [targets] 1: verbose build'
1953 @echo ' make O=dir [targets] Locate all output files in "dir", including .config'
1954 @echo ' make C=1 [targets] Check re-compiled c source with $$CHECK'
1956 @echo ' make C=2 [targets] Force check of all c source with $$CHECK'
1957 @echo ' make RECORDMCOUNT_WARN=1 [targets] Warn about ignored mcount sections'
1958 @echo ' make W=n [targets] Enable extra build checks, n=1,2,3,c,e where'
1965 @echo ' make UT=1 [targets] Warn if a tracepoint is defined but not used.'
1968 echo ' make CHECK_DTBS=1 [targets] Check all generated dtb files against schema'; \
1969 echo ' This can be applied both to "dtbs" and to individual "foo.dtb" targets' ; \
1972 @echo 'Execute "make" or "make all" to build all targets marked with [*] '
1983 @echo 'Architecture-specific targets ($(SRCARCH) $*):'
1990 # Documentation targets
2001 # Rust targets
2011 # Using the singular to avoid running afoul of `no-dot-config-targets`.
2021 # Formatting targets
2170 # Single targets
2176 # The supported suffixes for single-target are listed in 'single-targets'
2310 targets += compile_commands.json
2379 # read saved command lines for existing targets
2380 existing-targets := $(wildcard $(sort $(targets)))
2382 -include $(foreach f,$(existing-targets),$(dir $(f)).$(notdir $(f)).cmd)