/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 …]
|
/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/Documentation/dev-tools/ ! |
H A D | kselftest.rst | 15 code that can still test an older kernel and make sure it skips the test 48 $ make headers 49 $ make -C tools/testing/selftests 53 $ make -C tools/testing/selftests run_tests 57 $ make kselftest 69 $ make O=/tmp/kselftest kselftest 73 $ export KBUILD_OUTPUT=/tmp/kselftest; make kselftest 79 Kselftest supports "summary" option to make it easier to understand the test 86 $ make summary=1 kselftest 91 You can use the "TARGETS" variable on the make command line to specify [all …]
|
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/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/ ! |
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/Documentation/translations/zh_CN/kbuild/ ! |
H A D | llvm.rst | 32 通过以下命令调用 ``make``:: 34 make LLVM=1 38 make LLVM=1 ARCH=arm64 43 LLVM 有 GNU binutils 工具的替代品。这些工具可以单独启用。以下是支持的 make 变量 46 make CC=clang LD=ld.lld AR=llvm-ar NM=llvm-nm STRIP=llvm-strip \ 54 make LLVM=/path/to/llvm/ 59 PATH=/path/to/llvm:$PATH make LLVM=1 64 make LLVM=-14 69 PATH=/path/to/llvm/:$PATH make LLVM=-14 72 某些 LLVM 工具,请使用它们各自的 make 变量。 [all …]
|
H A D | kconfig.rst | 12 本文件包含使用 ``make *config`` 的一些帮助。 14 使用 ``make help`` 列出所有可能的配置目标。 26 当这种情况发生时,使用之前正常工作的 .config 文件并运行 "make oldconfig" 32 make listnewconfig 38 make oldconfig 74 KCONFIG_ALLCONFIG == "1",则 ``make *config`` 将查找名为 87 KCONFIG_ALLCONFIG=custom-notebook.config make allnoconfig 91 KCONFIG_ALLCONFIG=mini.config make allnoconfig 95 make KCONFIG_ALLCONFIG=mini.config allnoconfig 189 make MENUCONFIG_COLOR=<theme> menuconfig [all …]
|
/linux/tools/testing/selftests/drivers/net/netdevsim/ ! |
H A D | fib_notifications.sh | 31 # Make sure that the first notification was emitted without 47 # Make sure that the first notification was emitted without RTM_F_TRAP 112 # Make sure a single notification will be emitted for the programmed 119 # Make sure two notifications will be emitted for the programmed route. 125 # make sure a single notification will be emitted for the programmed 165 # Make sure a single notification will be emitted for the deleted route, 212 # Make sure a single notification will be emitted for the new route. 218 # Make sure two notifications will be emitted for the new route. 224 # make sure a single notification will be emitted for the new route. 246 # Make sure a single notification will be emitted for the programmed [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/Documentation/kbuild/ ! |
H A D | bash-completion.rst | 8 for the `make` command is available through the `bash-completion`_ project. 11 rules for the `make` command do not provide meaningful suggestions for the 12 kernel build system, except for the options of the `make` command itself. 15 includes its own completion script at `scripts/bash-completion/make`. 19 `make` command. 33 $ source scripts/bash-completion/make 39 $ cp scripts/bash-completion/make ~/.local/share/bash-completion/completions/ 49 - The -C make option specifies the kernel source or build directory. 50 - The -f make option specifies a file in the kernel source or build directory. 57 - Make (or environment) variables, such as `ARCH`, `LLVM`, etc.
|
H A D | modules.rst | 20 complexity, so one only has to type "make" to build the module. This is 34 An alternative is to use the "make" target "modules_prepare." This will 35 make sure the kernel contains the information required. The target 41 executed to make module versioning work. 48 $ make -C <path_to_kernel_dir> M=$PWD 55 $ make -C /lib/modules/`uname -r`/build M=$PWD 60 $ make -C /lib/modules/`uname -r`/build M=$PWD modules_install 64 module will be output to the directory where you invoke make. 66 $ make -f /lib/modules/`uname -r`/build/Makefile M=$PWD 78 make -C $KDIR M=$PWD [MO=$BUILD_DIR] [all …]
|
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/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 $(… 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' to 95 $(Q)dpkg-architecture -a$$(cat debian/arch) --print-set --print-format=make > $@.tmp
|
/linux/tools/testing/selftests/rcutorture/bin/ ! |
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 …rcu[^/]*": < $resdir/Make.out | grep -E -q "Stop|ERROR|Error|error:|warning:" || grep -E -q "Stop|… 50 grep -E "Stop|Error|error:|warning:" < $resdir/Make.out
|
/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/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 | 131 # Run "make quicktest=1 run_tests" or 132 # "make quicktest=1 kselftest" from top level Makefile 154 # built; make will fail if any of the targets cannot be built. If 155 # FORCE_TARGETS is not set (the default), make will succeed if at least one 181 # Make's built-in functions such as $(abspath ...), $(realpath ...) cannot 203 # set default goal to all, so make without a target runs all, even when 212 $(MAKE) OUTPUT=$$BUILD_TARGET -C $$TARGET \ 221 $(MAKE) OUTPUT=$$BUILD_TARGET -C $$TARGET run_tests \ 230 $(MAKE) OUTPUT=$$BUILD_TARGET -C $$TARGET;\ 236 $(MAKE) OUTPUT=$$BUILD_TARGET -C $$TARGET run_full_test;\ [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/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:
|