/linux/Documentation/translations/zh_CN/admin-guide/ |
H A D | README.rst | 99 make mrproper 116 ``make O=output/dir`` 选项可以为输出文件(包括 .config)指定备用位置。 125 make O=/home/name/build/kernel menuconfig 126 make O=/home/name/build/kernel 127 sudo make O=/home/name/build/kernel modules_install install 136 将现有配置升级到新版本,请使用 ``make oldconfig`` ,它只会询问您新配置 141 "make config" 纯文本界面。 143 "make menuconfig" 基于文本的彩色菜单、选项列表和对话框。 145 "make nconfig" 增强的基于文本的彩色菜单。 147 "make xconfig" 基于Qt的配置工具。 [all …]
|
/linux/Documentation/admin-guide/ |
H A D | README.rst | 84 the backup files (some-file-name~ or some-file-name.orig), and make sure 107 - Make sure you have no stale .o files and dependencies lying around:: 110 make mrproper 131 Using the option ``make O=output/dir`` allows you to specify an alternate 141 make O=/home/name/build/kernel menuconfig 142 make O=/home/name/build/kernel 143 sudo make O=/home/name/build/kernel modules_install install 146 used for all invocations of make. 155 new version with minimal work, use ``make oldconfig``, which will 160 "make config" Plain text interface. [all …]
|
H A D | quickly-build-trimmed-linux.rst | 22 building Linux; make sure to have 12 Gigabyte free space in your home directory. 31 yes "" | make localmodconfig 34 make -j $(nproc --all) 37 command -v installkernel && sudo make modules_install install 48 make olddefconfig 49 make -j $(nproc --all) 51 command -v installkernel && sudo make modules_install install 202 ~/linux/ and run ``make olddefconfig``. 205 your running kernel to your or your hardware's needs: the make target 208 Using this make target is fine for everybody else, too -- but you often can [all …]
|
H A D | verify-bugs-and-bisect-regressions.rst | 66 make olddefconfig 70 yes '' | make localmodconfig 78 make olddefconfig 95 make olddefconfig 96 make -j $(nproc --all) 97 # * Make sure there is enough disk space to hold another kernel: 102 sudo make modules_install 103 command -v installkernel && sudo make install 105 # enables you to make better estimates later: 106 du -ch /boot/*$(make -s kernelrelease)* | tail -n 1 [all …]
|
/linux/tools/perf/ |
H A D | Makefile | 7 # you can use the 'make -f Makefile.perf' method to invoke it. 11 # Clear out the built-in rules GNU make defines by default (such as .o targets), 23 # in this system: 'make -j8' on a 8-CPU system, etc. 25 # (To override it, run 'make JOBS=1' and similar.) 61 @printf ' BUILD: Doing '\''make \033[33m-j'$(JOBS)'\033[m'\'' $(BUILD_TYPE) build\n' 64 define make macro 65 @$(MAKE) -f Makefile.perf --no-print-directory -j$(JOBS) O=$(FULL_O) $(SET_DEBUG) $@ 76 $(make) 96 $(make) -j1 100 # it also uses only the tests/make targets that don't pollute the source [all …]
|
/linux/tools/build/tests/ |
H A D | run.sh | 5 make -C ex V=1 clean > ex.out 2>&1 6 make -C ex V=1 >> ex.out 2>&1 13 make -C ex V=1 clean > /dev/null 2>&1 18 make -C ex V=1 clean > ex.out 2>&1 20 # use -rR to disable make's builtin rules 21 make -rR -C ex V=1 ex.o >> ex.out 2>&1 22 make -rR -C ex V=1 ex.i >> ex.out 2>&1 23 make -rR -C ex V=1 ex.s >> ex.out 2>&1 35 make -C ex V=1 clean > /dev/null 2>&1 40 make -C ex V=1 clean > ex.out 2>&1 [all …]
|
/linux/ |
H A D | Makefile | 9 # To see a list of typical targets execute "make help" 15 $(error GNU Make >= 4.0 is required. Your Make version is $(MAKE_VERSION)) 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 74 # $(Q)$(MAKE) $(build)=scripts/basic 80 # Use 'make V=1' to see the full commands 94 # If the user is running make -s (silent mode), suppress echoing of 106 # Use 'make C=1' to enable checking of only re-compiled files. 107 # Use 'make C=2' to enable checking of *all* source files, regardless 124 # Use 'make CLIPPY=1' to enable it. [all …]
|
/linux/samples/bpf/ |
H A D | README.rst | 32 make -C tools clean 33 make -C samples/bpf clean 34 make clean 39 make defconfig 48 make headers_install 51 level directory, that the make system will automatically pick up first. 59 make M=samples/bpf 61 It is also possible to call make from this directory. This will just 62 hide the invocation of make as above. 91 It is also possible to point make to the newly compiled 'llc' or [all …]
|
/linux/tools/testing/selftests/bpf/ |
H A D | test_bpftool_build.sh | 10 echo -e "\t\t-j <n>:\tPass -j flag to 'make'." 51 echo -e "command: make -s $* >/dev/null" 52 make $J -s $* >/dev/null 65 make -s clean 78 echo -e "command: make -s $ARGS ${@: -1}=$TMPDIR/ >/dev/null" 79 make $J -s $ARGS ${@: -1}=$TMPDIR/ >/dev/null 93 ## "make tools/bpf" sets $(OUTPUT) to ...tools/bpf/runqslower for 95 ## Let's make sure we clean runqslower's directory properly. 96 make -C tools/bpf/runqslower OUTPUT=${KDIR_ROOT_DIR}/tools/bpf/runqslower/ clean 102 echo -e "skip: make tools/bpf OUTPUT=<dir> (not supported)\n" [all …]
|
/linux/tools/tracing/rtla/ |
H A D | README.txt | 29 $ make 30 $ sudo make install 34 $ make 35 $ sudo make install 38 $ make 39 $ sudo make install 41 $ make 42 $ sudo make install
|
/linux/scripts/ |
H A D | Kbuild.include | 22 # Use $(intcmp ...) if supported. (Make >= 4.4) 70 # Make 4.2 or later can read a file by using its builtin function. 110 # Shorthand for $(Q)$(MAKE) -f scripts/Makefile.build obj= 112 # $(Q)$(MAKE) $(build)=dir 116 # Shorthand for $(Q)$(MAKE) -f scripts/Makefile.clean obj= 118 # $(Q)$(MAKE) $(clean)=dir 133 # GNU Make automatically deletes the target if it has already been changed by 134 # the interrupted recipe. So, you can safely stop the build by Ctrl-C (Make 138 # $ make >&2 | tee log 139 # Make dies with SIGPIPE before cleaning the targets. [all …]
|
/linux/scripts/package/debian/ |
H A D | rules | 1 #!/usr/bin/make -f 26 make-opts = ARCH=$(ARCH) KERNELRELEASE=$(KERNELRELEASE) \ 54 $(Q)+$(MAKE) $(make-opts) run-command KBUILD_RUN_COMMAND='+$$(srctree)/scripts/package/builddeb $(package)' 79 $(Q)$(MAKE) $(make-opts) olddefconfig 80 $(Q)$(MAKE) $(make-opts) $(if $(filter um,$(ARCH)),,headers) all 86 $(Q)$(MAKE) ARCH=$(ARCH) clean 89 # directly. Run 'dpkg-architecture --print-set --print-format=make' t [all...] |
/linux/Documentation/dev-tools/ |
H A D | coccinelle.rst | 47 make 51 sudo make install 106 To make a report for every semantic patch, run the following command:: 108 make coccicheck MODE=report 112 make coccicheck MODE=patch 128 make coccicheck MODE=report V=1 136 make coccicheck MODE=report J=4 148 value is propagated back, and the return value of the ``make coccicheck`` 154 The optional make variable COCCI can be used to check a single 160 make coccicheck COCCI=<my_SP.cocci> MODE=patch [all …]
|
/linux/tools/testing/selftests/rcutorture/bin/ |
H A D | torture.sh | 98 echo " --kcsan-kmake-arg kernel-make-arguments" 238 checkarg --kcsan-kmake-arg "(kernel make arguments)" $# "$2" '.*' '^error$' 386 # make allmodconfig 392 echo " --- make clean" | tee $amcdir/log > "$amcdir/Make.out" 2>&1 393 make -j$MAKE_ALLOTED_CPUS clean >> "$amcdir/Make.out" 2>&1 395 buildphase='"make clean"' 398 echo " --- make allmodconfig" | tee -a $amcdir/log >> "$amcdir/Make [all...] |
H A D | configinit.sh | 32 make clean > $resdir/Make.clean 2>&1 34 make $TORTURE_KMAKE_ARG $TORTURE_DEFCONFIG > $resdir/Make.defconfig.out 2>&1 38 yes '' | make $TORTURE_KMAKE_ARG oldconfig > $resdir/Make.oldconfig.out 2> $resdir/Make.oldconfig.e…
|
H A D | kvm-build.sh | 43 # Tell "make" to use double the number of real CPUs on the build system. 45 make -j$((2 * ncpus)) $TORTURE_KMAKE_ARG > $resdir/Make.out 2>&1 47 …grep "rcu[^/]*": < $resdir/Make.out | grep -E -q "Stop|Error|error:|warning:" || grep -E -q "Stop|… 50 grep -E "Stop|Error|error:|warning:" < $resdir/Make.out
|
/linux/scripts/package/ |
H A D | kernel.spec | 3 %{!?make: %define make make} 21 BuildRequires: gcc make openssl openssl-devel perl python3 rsync 68 # later, we make all modules executable so that find-debuginfo.sh strips 84 %{make} %{makeflags} KERNELRELEASE=%{KERNELRELEASE} KBUILD_BUILD_VERSION=%{release} 88 cp $(%{make} %{makeflags} -s image_name) %{buildroot}/lib/modules/%{KERNELRELEASE}/vmlinuz 90 %{make} %{makeflags} INSTALL_MOD_PATH=%{buildroot} DEPMOD=true modules_install 91 %{make} %{makeflags} INSTALL_HDR_PATH=%{buildroot}/usr headers_install 94 if %{make} %{makeflags} run-command KBUILD_RUN_COMMAND='test -d ${srctree}/arch/${SRCARCH}/boot/dts… 95 %{make} %{makeflags} INSTALL_DTBS_PATH=%{buildroot}/lib/modules/%{KERNELRELEASE}/dtb dtbs_install 99 %{make} %{makeflags} run-command KBUILD_RUN_COMMAND='${srctree}/scripts/package/install-extmod-buil… [all …]
|
/linux/tools/testing/selftests/ |
H A D | Makefile | 130 # Run "make quicktest=1 run_tests" or 131 # "make quicktest=1 kselftest" from top level Makefile 153 # built; make will fail if any of the targets cannot be built. If 154 # FORCE_TARGETS is not set (the default), make will succeed if at least one 180 # Make's built-in functions such as $(abspath ...), $(realpath ...) cannot 202 # set default goal to all, so make without a target runs all, even when 211 $(MAKE) OUTPUT=$$BUILD_TARGET -C $$TARGET \ 220 $(MAKE) OUTPUT=$$BUILD_TARGET -C $$TARGET run_tests \ 229 $(MAKE) OUTPUT=$$BUILD_TARGET -C $$TARGET;\ 235 $(MAKE) OUTPUT=$$BUILD_TARGET -C $$TARGET run_full_test;\ [all …]
|
/linux/tools/verification/rv/ |
H A D | README.txt | 24 $ make 25 $ sudo make install 29 $ make 30 $ sudo make install 33 $ make 34 $ sudo make install
|
/linux/Documentation/kbuild/ |
H A D | kconfig-macro-language.rst | 8 The basic idea was inspired by Make. When we look at Make, we notice sort of 29 Then, Make analyzes the dependency graph and determines the targets to be 53 Like in Make, a variable in Kconfig works as a macro variable. A macro 96 Like Make, Kconfig provides several built-in functions. Every function takes a 99 In Make, every built-in function takes at least one argument. Kconfig allows 142 Make vs Kconfig 145 Kconfig adopts Make-like macro language, but the function call syntax is 148 A function call in Make looks like this:: 156 to make "info" function print " hello", you can write like follows:: 169 Make - for example, $(subst .c, .o, $(sources)) is a typical mistake; it [all …]
|
/linux/tools/power/cpupower/ |
H A D | README | 38 $ make 40 The output directory for the 'make' command is the current directory and 47 $ sudo make install 49 'make install' command puts targets to default system dirs: 73 There are 2 make's command-line variables 'O' and 'DESTDIR' that setup 82 $ make O=<your_custom_build_catalog> 85 $ make O=/home/hedin/prj/cpupower/build 90 $ make O=<your_custom_build_catalog> DESTDIR=<your_custom_install_catalog> 93 $ make O=/home/hedin/prj/cpupower/build DESTDIR=/home/hedin/prj/cpupower \ 121 If you look at the table for the default 'make' output dirs you will [all …]
|
/linux/Documentation/filesystems/bcachefs/ |
H A D | CodingStyle.rst | 26 you're not sure if it can happen and not sure how to handle it yet - make it a 32 are logically impossible. (Or, make them debug mode assertions if they're 60 Looking for ways to make your assertions simpler - and higher level - will 70 We have the tools to make anything visible at runtime, efficiently - RCU and 78 make your error messages much easier to write (therefore they will actually 91 tool, but always look for more immediate ways to make things visible. When we 105 rush to fix the initial issue. Look for things that will make related bugs 107 messages, new debug tools, and do those first. Look for ways to make the system 124 This will also motivate you to make your debugging tools as good as possible, 127 person most able to improve the tools to make debugging quick and easy. [all …]
|
/linux/Documentation/ |
H A D | Makefile | 45 …(SPHINXBUILD)' command was not found. Make sure you have Sphinx installed and in PATH, or set the … 88 …cmd_sphinx = $(MAKE) BUILDDIR=$(abspath $(BUILDDIR)) $(build)=Documentation/userspace-api/media $2… 126 # If there are any, the errors from this make rustdoc will be displayed but 131 $(Q)$(MAKE) rustdoc || true 139 # Note: the 'info' Make target is generated by sphinx itself when 142 $(MAKE) -C $(BUILDDIR)/texinfo info 154 …$(warning The '$(PDFLATEX)' command was not found. Make sure you have it installed and in PATH to … 163 …$(MAKE) PDFLATEX="$(PDFLATEX)" LATEXOPTS="$(LATEXOPTS)" $(DENY_VF) -C $(BUILDDIR)/$(var)/latex || … 189 $(Q)$(MAKE) BUILDDIR=$(abspath $(BUILDDIR)) $(build)=Documentation/userspace-api/media clean 206 @echo ' make SPHINXDIRS="s1 s2" [target] Generate only docs of folder s1, s2' [all …]
|
/linux/tools/usb/usbip/ |
H A D | INSTALL | 13 Briefly, the shell commands `./configure; make; make install' should 53 2. Type `make' to compile the package. 55 3. Optionally, type `make check' to run any self-tests that come with 58 4. Type `make install' to install the programs and any data files and 62 source code directory by typing `make clean'. To also remove the 64 a different kind of computer), type `make distclean'. There is 65 also a `make maintainer-clean' target, but that is intended mainly 70 6. Often, you can also type `make uninstall' to remove the installed 93 own directory. To do this, you can use GNU `make'. `cd' to the 98 With a non-GNU `make', it is safer to compile the package for one [all …]
|
/linux/drivers/comedi/drivers/ni_routing/tools/ |
H A D | Makefile | 2 # this make file is simply to help autogenerate these files: 12 @echo "\`make csv-files\`" 16 @echo "\`make c-files\`" 20 @echo "\`make csv-blank\`" 24 @echo "\`make clean-partial\`" 26 @echo "\`make clean\`" 28 @echo "\`make everything\`" 78 # The make rules are as follows:
|