Lines Matching defs:make
9 # To see a list of typical targets execute "make help"
32 # turn into vmlinux), we will call a sub make in that other dir, and
47 # Do not use make's built-in rules and variables
80 # 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.
114 # Use 'make C=1' to enable checking of only re-compiled files.
115 # Use 'make C=2' to enable checking of *all* source files, regardless
132 # Use 'make CLIPPY=1' to enable it.
139 # Use make M=dir or set the environment variable KBUILD_EXTMOD to specify the
163 # cd /dir/to/store/output/files; make -f /dir/to/kernel/source/Makefile
169 # Use "make O=dir/to/store/output/files/"
173 # export KBUILD_OUTPUT=dir/to/store/output/files/; make
200 # We need to invoke sub-make to avoid implicit rules in the top Makefile.
201 need-sub-make := 1
215 need-sub-make := 1
220 # You may end up recursing into __sub-make twice. This is needed due to the
222 need-sub-make := 1
225 ifeq ($(need-sub-make),1)
227 PHONY += $(MAKECMDGOALS) __sub-make
229 $(filter-out $(this-makefile), $(MAKECMDGOALS)) __all: __sub-make
232 # Invoke a second make in the output directory, passing relevant variables
233 __sub-make:
237 else # need-sub-make
239 # We process the rest of the Makefile if this is the final invocation of make
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
268 # For example 'make oldconfig all'.
269 # Detect when mixed targets is specified, and make a second invocation
270 # of make so .config is not included in this case either (for *config).
334 # For "make -j clean all", "make -j mrproper defconfig all", etc.
380 # ARCH can be set during invocation of make:
381 # make ARCH=ia64
383 # The default ARCH is the host where make is executed.
389 # make CROSS_COMPILE=ia64-linux-
637 # Before starting out-of-tree build, make sure the source tree is clean.
639 # separate output directory. This allows convenient use of make in the
655 echo >&2 "*** The source tree is not clean, please run 'make$(if $(findstring command line, $(origin ARCH)), ARCH=$(ARCH)) mrproper'"; \
684 # *config targets only - make sure prerequisites are updated, and descend
685 # in scripts/kconfig to make the *config target
689 # used for 'make defconfig'
721 # If we have only "make modules", don't compile built-in objects.
726 # If we have "make <whatever> modules", compile modules
728 # Just "make" or "make all" shall build modules as well
753 # This allow a user to issue only 'make' to build a kernel including modules
772 # Read in dependencies to all Kconfig* files, make sure to run syncconfig if
781 @echo >&2 '*** Please run some configurator (e.g. "make oldconfig" or'
782 @echo >&2 '*** "make menuconfig" or "make xconfig").'
791 # The syncconfig should be executed only once to make all the targets.
810 echo >&2 " Run 'make oldconfig && make prepare' on kernel src to fix it."; \
841 # Disable optimizations that make assembler listings hard to read.
1061 # make the checker run with the right architecture
1092 # makefile but the argument can be passed to make if needed.
1168 # make sure no implicit rule kicks in
1313 # If DKMS is installed, 'make install' will eventually recurse back
1394 # INSTALL_DTBS_PATH contains $(KERNELRELEASE). However, we do not want to make
1444 # make sure the checksums are up to date before we record them.
1469 # make clean Delete most generated files
1471 # make mrproper Delete the current configuration, and all generated files
1472 # make distclean Remove editor backup files, patch leftover files and the like
1474 # Directories & files removed with 'make clean'
1480 # Directories & files removed with 'make mrproper'
1574 @echo ' kernelrelease - Output the release version string (use with make -s)'
1575 @echo ' kernelversion - Output the version stored in Makefile (use with make -s)'
1576 @echo ' image_name - Output the image name (use with make -s)'
1631 @echo ' use "make tools/help"'
1632 @echo ' or "cd tools; make help"'
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'; \
1673 @echo 'Execute "make" or "make all" to build all targets marked with [*] '
1765 # read-only, and no consistency checks are made and the make
1767 # in the basis kernel ordinary make commands (without M=...) must be used.
1795 @echo ' Syntax: make -C path/to/kernel/src M=$$PWD target'
1826 # 'make modules_install modules_sign' is equivalent to 'make modules_install'.
1871 # make foo/bar/baz.s
1877 # make foo/bar/baz/
1909 # make menuconfig etc.
2048 endif # need-sub-make