Lines Matching defs:make
9 # To see a list of typical targets execute "make help"
28 # turn into vmlinux), we will call a sub make in that other dir, and
39 # Do not use make's built-in rules and variables
77 # Use 'make V=1' to see the full commands
94 # If the user is running make -s (silent mode), suppress echoing of
96 # make-4.0 (and later) keep single letter options in the 1st word of MAKEFLAGS.
115 # cd /dir/to/store/output/files; make -f /dir/to/kernel/source/Makefile
121 # Use "make O=dir/to/store/output/files/"
125 # export KBUILD_OUTPUT=dir/to/store/output/files/; make
152 need-sub-make := 1
162 # Look for make include files relative to root of kernel src
165 # once after the Makefile is read. We need to invoke sub-make.
167 need-sub-make := 1
174 # We need to invoke sub-make to avoid implicit rules in the top Makefile.
175 need-sub-make := 1
183 ifeq ($(need-sub-make),1)
185 PHONY += $(MAKECMDGOALS) __sub-make
187 $(filter-out $(this-makefile), $(MAKECMDGOALS)) __all: __sub-make
190 # Invoke a second make in the output directory, passing relevant variables
191 __sub-make:
194 endif # need-sub-make
197 # We process the rest of the Makefile if this is the final invocation of make
198 ifeq ($(need-sub-make),)
208 # Use 'make C=1' to enable checking of only re-compiled files.
209 # Use 'make C=2' to enable checking of *all* source files, regardless
222 # Use make M=dir or set the environment variable KBUILD_EXTMOD to specify the
258 # To make sure we do not include .config for any of the *config targets
260 # It is allowed to specify more targets when calling make, including
262 # For example 'make oldconfig all'.
263 # Detect when mixed targets is specified, and make a second invocation
264 # of make so .config is not included in this case either (for *config).
318 # For "make -j clean all", "make -j mrproper defconfig all", etc.
364 # ARCH can be set during invocation of make:
365 # make ARCH=ia64
367 # The default ARCH is the host where make is executed.
373 # make CROSS_COMPILE=ia64-linux-
407 # Default file for 'make defconfig'. This may be overridden by arch-Makefile.
551 # Before starting out-of-tree build, make sure the source tree is clean.
553 # separate output directory. This allows convenient use of make in the
563 echo >&2 "*** The source tree is not clean, please run 'make$(if $(findstring command line, $(origin ARCH)), ARCH=$(ARCH)) mrproper'"; \
586 # *config targets only - make sure prerequisites are updated, and descend
587 # in scripts/kconfig to make the *config target
591 # used for 'make defconfig'
621 # If we have only "make modules", don't compile built-in objects.
626 # If we have "make <whatever> modules", compile modules
628 # Just "make" or "make all" shall build modules as well
656 # This allow a user to issue only 'make' to build a kernel including modules
692 # Read in dependencies to all Kconfig* files, make sure to run syncconfig if
701 @echo >&2 '*** Please run some configurator (e.g. "make oldconfig" or'
702 @echo >&2 '*** "make menuconfig" or "make xconfig").'
711 # The syncconfig should be executed only once to make all the targets.
730 echo >&2 " Run 'make oldconfig && make prepare' on kernel src to fix it."; \
756 # Disable optimizations that make assembler listings hard to read.
792 # Use make W=1 to enable them (see scripts/Makefile.extrawarn)
987 # Prohibit date/time macros, which would make the build non-deterministic
1042 # make the checker run with the right architecture
1073 # makefile but the argument can be passed to make if needed.
1230 # make sure no implicit rule kicks in
1446 # make sure the checksums are up to date before we record them.
1501 # make clean Delete most generated files
1503 # make mrproper Delete the current configuration, and all generated files
1504 # make distclean Remove editor backup files, patch leftover files and the like
1506 # Directories & files removed with 'make clean'
1511 # Directories & files removed with 'make mrproper'
1522 # Directories & files removed with 'make distclean'
1607 @echo ' kernelrelease - Output the release version string (use with make -s)'
1608 @echo ' kernelversion - Output the version stored in Makefile (use with make -s)'
1609 @echo ' image_name - Output the image name (use with make -s)'
1646 @echo ' use "make tools/help"'
1647 @echo ' or "cd tools; make help"'
1669 @echo ' make V=0|1 [targets] 0 => quiet build (default), 1 => verbose build'
1670 @echo ' make V=2 [targets] 2 => give reason for rebuild of target'
1671 @echo ' make O=dir [targets] Locate all output files in "dir", including .config'
1672 @echo ' make C=1 [targets] Check re-compiled c source with $$CHECK'
1674 @echo ' make C=2 [targets] Force check of all c source with $$CHECK'
1675 @echo ' make RECORDMCOUNT_WARN=1 [targets] Warn about ignored mcount sections'
1676 @echo ' make W=n [targets] Enable extra build checks, n=1,2,3 where'
1682 @echo 'Execute "make" or "make all" to build all targets marked with [*] '
1725 # read-only, and no consistency checks are made and the make
1727 # in the basis kernel ordinary make commands (without M=...) must
1732 # make M=dir clean Delete all automatically generated files
1733 # make M=dir modules Make all modules in specified dir
1734 # make M=dir Same as 'make M=dir modules'
1735 # make M=dir modules_install
1757 @echo ' Syntax: make -C path/to/kernel/src M=$$PWD target'
1795 @echo >&2 '*** To use the module feature, please run "make menuconfig" etc.'
1808 # make foo/bar/baz.s
1814 # make foo/bar/baz/
1845 # make menuconfig etc.
1989 endif # need-sub-make