/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 …]
|
H A D | Makefile.perf | 161 # Do not use make's built-in rules 168 # because make sets default values, so the simpler ?= approach 235 # the first target in the separate make session not to be 236 # disturbed by any parallel make jobs. Once fixdep is done 256 # introduced in v0.4.7) and -S/--severity (introduced in v0.6.0). So make the 283 goals := $(filter-out all sub-make, $(MAKECMDGOALS)) 285 $(goals) all: sub-make 287 sub-make: fixdep 289 $(Q)$(MAKE) FIXDEP=1 -f Makefile.perf $(goals) 504 $(Q)$(MAKE) -C $(arm64_gen_sysreg_dir) O=$(arm64_gen_sysreg_outdir) \ [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/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 | 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 | torture.sh | 108 echo " --kcsan-kmake-arg kernel-make-arguments" 248 checkarg --kcsan-kmake-arg "(kernel make arguments)" $# "$2" '.*' '^error$' 417 # make allmodconfig 424 echo " --- make clean" | tee $amcdir/log > "$amcdir/Make.out" 2>&1 425 make -j$MAKE_ALLOTED_CPUS clean >> "$amcdir/Make.out" 2>&1 427 buildphase='"make clean"' 430 echo " --- make allmodconfig" | tee -a $amcdir/log >> "$amcdir/Make [all...] |
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/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/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/tools/testing/selftests/ |
H A D | Makefile | 133 # Run "make quicktest=1 run_tests" or 134 # "make quicktest=1 kselftest" from top level Makefile 156 # built; make will fail if any of the targets cannot be built. If 157 # FORCE_TARGETS is not set (the default), make will succeed if at least one 183 # Make's built-in functions such as $(abspath ...), $(realpath ...) cannot 205 # set default goal to all, so make without a target runs all, even when 214 $(MAKE) OUTPUT=$$BUILD_TARGET -C $$TARGET \ 223 $(MAKE) OUTPUT=$$BUILD_TARGET -C $$TARGET run_tests \ 232 $(MAKE) OUTPUT=$$BUILD_TARGET -C $$TARGET;\ 238 $(MAKE) OUTPU [all...] |
/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/perf/tests/ |
H A D | make | 7 @echo "Testing Makefile"; $(MAKE) -sf tests/make MK=Makefile 8 @echo "Testing Makefile.perf"; $(MAKE) -sf tests/make MK=Makefile.perf SET_PARALLEL=1 SET_O=1 12 @echo "Testing Makefile"; $(MAKE) -sf tests/make MK=Makefile $@ 57 # we need some IS_(32/64) flag to make this generic 65 python_perf_so := $(shell $(MAKE) python_perf_target|grep "Target is:"|awk '{print $$3}') 67 # standard single make variable specified 135 MAKE_F := $(MAKE) 137 MAKE_F := $(MAKE) -f $(MK) 307 clean := @(cd $(PERF); $(MAKE_F) -s $(O_OPT) clean >/dev/null && $(MAKE) -s $(O_OPT) -C ../build cl… 362 @echo "- make -C <kernelsrc> $(PARALLEL_OPT) $(K_O_OPT) tools/perf" [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/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:
|
/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/Documentation/core-api/ |
H A D | symbol-namespaces.rst | 17 kernel. As of today, modules that make use of symbols exported into namespaces, 47 and kernel/module/main.c make use the namespace at build time or module load 140 (along with other module meta data). To make the life of module authors (and 141 subsystem maintainers) easier, a script and make target is available to fixup 144 $ make nsdeps 149 - ``make`` 151 - run ``make nsdeps`` to add the import to the correct code location 154 Again, ``make nsdeps`` will eventually add the missing namespace imports for 158 - ``make`` (preferably with an allmodconfig to cover all in-kernel 161 - run ``make nsdeps`` to add the import to the correct code location [all …]
|
/linux/tools/perf/Documentation/ |
H A D | Build.txt | 54 $ make DESTDIR=/usr 55 $ make DESTDIR=/usr install 61 $ make DEBUG=1 EXTRA_CFLAGS='-fno-omit-frame-pointer -fsanitize=address' 70 $ make DEBUG=1 EXTRA_CFLAGS='-fno-omit-frame-pointer -fsanitize=undefined' 85 $ make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- -C tools/perf 89 $ make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- \ 97 make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- -C tools/perf
|
/linux/tools/testing/selftests/powerpc/pmu/ |
H A D | Makefile | 3 $(MAKE) -C ../ 29 BUILD_TARGET=$(OUTPUT)/$@; mkdir -p $$BUILD_TARGET; $(MAKE) OUTPUT=$$BUILD_TARGET -k -C $@ all 36 $(MAKE) OUTPUT=$$BUILD_TARGET -C $$TARGET run_tests; \ 47 $(MAKE) OUTPUT=$$BUILD_TARGET COLLECTION=$(COLLECTION)/$$TARGET -s -C $$TARGET emit_tests; \ 55 $(MAKE) OUTPUT=$$BUILD_TARGET INSTALL_PATH=$$INSTALL_PATH/$$TARGET -C $$TARGET install; \ 65 $(MAKE) OUTPUT=$$BUILD_TARGET -C $$TARGET clean; \
|