Lines Matching full:make

12 # To see a list of typical targets execute "make help"
17 # o Do not use make's built-in rules and variables
19 # o Look for make include files relative to root of kernel src
38 # turn into vmlinux), we will call a sub make in that other dir, and
71 # Use 'make V=1' to see the full commands
95 # If the user is running make -s (silent mode), suppress echoing of
98 ifneq ($(filter 4.%,$(MAKE_VERSION)),) # make-4
102 else # make-3.8x
114 # Use "make O=dir/to/store/output/files/"
120 # make
125 # KBUILD_SRC is set on invocation of make in OBJ directory
129 # OK, Make called in directory where kernel src resides
143 # Invoke a second make in the output directory, passing relevant variables
151 PHONY += $(MAKECMDGOALS) sub-make
153 $(filter-out _all sub-make $(CURDIR)/Makefile, $(MAKECMDGOALS)) _all: sub-make
156 sub-make: FORCE
157 $(Q)$(MAKE) -C $(KBUILD_OUTPUT) KBUILD_SRC=$(CURDIR) \
158 -f $(CURDIR)/Makefile $(filter-out _all sub-make,$(MAKECMDGOALS))
160 # Leave processing to above invocation of make
165 # We process the rest of the Makefile if this is the final invocation of make
176 # Use 'make C=1' to enable checking of only re-compiled files.
177 # Use 'make C=2' to enable checking of *all* source files, regardless
190 # Use make M=dir to specify directory of external module to build
191 # Old syntax make ... SUBDIRS=$PWD is still supported
229 # Make sure CDPATH settings don't interfere
310 # If we have only "make modules", don't compile built-in objects.
313 # make sure the checksums are up to date before we record them.
319 # If we have "make <whatever> modules", compile modules
321 # Just "make" or "make all" shall build modules as well
339 # Make variables (CC, etc...)
381 export MAKE AWK PERL PYTHON
406 $(Q)$(MAKE) $(build)=scripts/basic
414 # separate output directory. This allows convenient use of make in the
423 # To make sure we do not include .config for any of the *config targets
425 # It is allowed to specify more targets when calling make, including
427 # For example 'make oldconfig all'.
428 # Detect when mixed targets is specified, and make a second invocation
429 # of make so .config is not included in this case either (for *config).
470 $(MAKE) -f $(srctree)/Makefile $$i; \
476 # *config targets only - make sure prerequisites are updated, and descend
477 # in scripts/kconfig to make the *config target
483 $(Q)$(MAKE) $(build)=scripts/kconfig $@
486 $(Q)$(MAKE) $(build)=scripts/kconfig $@
498 $(Q)$(MAKE) $(build)=$(@)
504 # Read in dependencies to all Kconfig* files, make sure to run
512 # with it and forgot to run make oldconfig.
516 $(Q)$(MAKE) -f $(srctree)/Makefile silentoldconfig
518 @# deleted so "make silentoldconfig" will be re-run on the next build.
519 $(Q)$(MAKE) -f $(srctree)/scripts/Makefile.autoconf || \
521 @# include/config.h has been updated after "make silentoldconfig".
524 @# Otherwise, 'make silentoldconfig' would be invoked twice.
528 $(Q)$(MAKE) -f $(srctree)/scripts/Makefile.autoconf $(@)
548 # These are set by the arch-specific config.mk. Make sure they are exported
589 # preprocessor operations on strings that don't make C identifiers.
624 # Prohibit date/time macros, which would make the build non-deterministic
892 $(Q)$(MAKE) $(build)=dts dtbs
943 $(Q)$(MAKE) $(build)=arch/arm/mach-imx $@
946 $(Q)$(MAKE) $(build)=arch/arm/cpu/armv7/vf610 $@
1108 $(Q)$(MAKE) $(build)=arch/arm/mach-imx $@
1111 $(Q)$(MAKE) $(build)=arch/arm/mach-imx $@
1129 $(Q)$(MAKE) $(build)=arch/arm/cpu/arm926ejs/mxs u-boot-signed.sb
1131 $(Q)$(MAKE) $(build)=arch/arm/cpu/arm926ejs/mxs u-boot.sb
1281 $(if $(ARCH_POSTLINK), $(MAKE) -f $(ARCH_POSTLINK) $@, true)
1303 # make sure no implicit rule kicks in
1309 # make menuconfig etc.
1314 $(Q)$(MAKE) $(build)=$@
1343 # 1) Check that make has not been executed in the kernel src $(srctree)
1348 echo >&2 " $(srctree) is not clean, please run 'make mrproper'"; \
1367 $(Q)$(MAKE) $(build)=.
1451 $(Q)$(MAKE) obj=spl -f $(srctree)/scripts/Makefile.spl all
1467 $(Q)$(MAKE) obj=tpl -f $(srctree)/scripts/Makefile.spl all
1508 $(Q)$(MAKE) $(build)=tools/env
1511 $(Q)$(MAKE) $(build)=tools
1528 # make clean Delete most generated files
1530 # make mrproper Delete the current configuration, and all generated files
1531 # make distclean Remove editor backup files, patch leftover files and the like
1533 # Directories & files removed with 'make clean'
1541 # Directories & files removed with 'make mrproper'
1558 $(Q)$(MAKE) $(clean)=$(patsubst _clean_%,%,$@)
1581 $(Q)$(MAKE) $(clean)=$(patsubst _mrproper_%,%,$@)
1612 @$(MAKE) -f $(srctree)/scripts/kconfig/Makefile help
1625 @echo ' ubootrelease - Output the release version string (use with make -s)'
1626 @echo ' ubootversion - Output the version stored in Makefile (use with make -s)'
1634 @$(MAKE) -f $(srctree)/doc/DocBook/Makefile dochelp
1636 @echo ' make V=0|1 [targets] 0 => quiet build (default), 1 => verbose build'
1637 @echo ' make V=2 [targets] 2 => give reason for rebuild of target'
1638 @echo ' make O=dir [targets] Locate all output files in "dir", including .config'
1639 @echo ' make C=1 [targets] Check all c source with $$CHECK (sparse by default)'
1640 @echo ' make C=2 [targets] Force check of all c source with $$CHECK'
1641 @echo ' make RECORDMCOUNT_WARN=1 [targets] Warn about ignored mcount sections'
1642 @echo ' make W=n [targets] Enable extra gcc checks, n=1,2,3 where'
1648 @echo 'Execute "make" or "make all" to build all targets marked with [*] '
1657 $(Q)$(MAKE) $(build)=scripts build_docproc
1658 $(Q)$(MAKE) $(build)=doc/DocBook $@
1679 # - build with separate output dir 'make O=...'
1695 $(Q)$(MAKE) $(build)=$(build-dir) $(target-dir)$(notdir $@)
1697 $(Q)$(MAKE) $(build)=$(build-dir) $(target-dir)$(notdir $@)
1699 $(Q)$(MAKE) $(build)=$(build-dir) $(target-dir)$(notdir $@)
1701 $(Q)$(MAKE) $(build)=$(build-dir) $(target-dir)$(notdir $@)
1703 $(Q)$(MAKE) $(build)=$(build-dir) $(target-dir)$(notdir $@)
1705 $(Q)$(MAKE) $(build)=$(build-dir) $(target-dir)$(notdir $@)
1707 $(Q)$(MAKE) $(build)=$(build-dir) $(target-dir)$(notdir $@)
1712 $(Q)$(MAKE) KBUILD_MODULES=$(if $(CONFIG_MODULES),1) \
1716 $(Q)$(MAKE) KBUILD_MODULES=$(if $(CONFIG_MODULES),1) \
1720 $(Q)$(MAKE) KBUILD_MODULES=$(if $(CONFIG_MODULES),1) \
1722 $(Q)$(MAKE) -f $(srctree)/scripts/Makefile.modpost
1731 # FIXME Should go into a make.lib or something