/kernel/linux/linux-5.10/samples/bpf/ |
D | README.rst | 23 make -C tools clean 24 make -C samples/bpf clean 25 make clean 29 make defconfig 38 make headers_install 41 level directory, that the make system automatically pickup first. 49 make M=samples/bpf 51 It is also possible to call make from this directory. This will just 52 hide the invocation of make as above. 73 $ make -j $(getconf _NPROCESSORS_ONLN) [all …]
|
/kernel/linux/linux-5.10/Documentation/dev-tools/ |
D | kselftest.rst | 31 $ make -C tools/testing/selftests 35 $ make -C tools/testing/selftests run_tests 39 $ make kselftest 51 $ make O=/tmp/kselftest kselftest 55 $ export KBUILD_OUTPUT=/tmp/kselftest; make kselftest 61 Kselftest supports "summary" option to make it easier to understand the test 68 $ make summary=1 kselftest 73 You can use the "TARGETS" variable on the make command line to specify 78 $ make -C tools/testing/selftests TARGETS=ptrace run_tests 82 $ make TARGETS="size timers" kselftest [all …]
|
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 …]
|
/kernel/linux/linux-5.10/tools/build/tests/ |
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 …]
|
/kernel/linux/linux-5.10/tools/perf/ |
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.) 55 @printf ' BUILD: Doing '\''make \033[33m-j'$(JOBS)'\033[m'\'' parallel build\n' 58 define make macro 59 @$(MAKE) -f Makefile.perf --no-print-directory -j$(JOBS) O=$(FULL_O) $(SET_DEBUG) $@ 70 $(make) 90 $(make) -j1 94 # it also uses only the tests/make targets that don't pollute the source [all …]
|
D | Makefile.perf | 105 # When selected, pass LLVM_CONFIG=/path/to/llvm-config to `make' if 161 # Do not use make's built-in rules 168 # because make sets default values, so the simpler ?= approach 204 # the first target in the separate make session not to be 205 # disturbed by any parallel make jobs. Once fixdep is done 223 goals := $(filter-out all sub-make, $(MAKECMDGOALS)) 225 $(goals) all: sub-make 227 sub-make: fixdep 229 $(Q)$(MAKE) FIXDEP=1 -f Makefile.perf $(goals) 643 $(Q)$(MAKE) $(build)=perf [all …]
|
/kernel/linux/linux-5.10/Documentation/admin-guide/ |
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 …]
|
/kernel/linux/linux-5.10/ |
D | Makefile | 9 # To see a list of typical targets execute "make help" 28 # turn into vmlinux), we will call a sub make in that other dir, and 39 # Do not use make's built-in rules and variables 77 # Use 'make V=1' to see the full commands 94 # If the user is running make -s (silent mode), suppress echoing of 108 # cd /dir/to/store/output/files; make -f /dir/to/kernel/source/Makefile 114 # Use "make O=dir/to/store/output/files/" 118 # export KBUILD_OUTPUT=dir/to/store/output/files/; make 129 # Make's built-in functions such as $(abspath ...), $(realpath ...) cannot 145 need-sub-make := 1 [all …]
|
/kernel/linux/linux-5.10/tools/testing/selftests/ |
D | Makefile | 72 # Run "make quicktest=1 run_tests" or 73 # "make quicktest=1 kselftest" from top level Makefile 86 # built; make will fail if any of the targets cannot be built. If 87 # FORCE_TARGETS is not set (the default), make will succeed if at least one 113 # Make's built-in functions such as $(abspath ...), $(realpath ...) cannot 141 # set default goal to all, so make without a target runs all, even when 148 # dependency in "make kselftest" case. In this case, second level 149 # make inherits builtin-rules which will use the rule generate 158 # Local build cases: "make kselftest", "make -C" - headers are installed 162 $(MAKE) --no-builtin-rules ARCH=$(ARCH) -C $(top_srcdir) headers_install [all …]
|
D | lib.mk | 32 # set default goal to all, so make without a target runs all, even when 37 # dependency in "make kselftest" case. In this case, second level 38 # make inherits builtin-rules which will use the rule generate 47 # when test Makefile is run directly with "make -C". 55 $(MAKE) --no-builtin-rules ARCH=$(ARCH) -C $(top_srcdir) headers_install 57 $(MAKE) --no-builtin-rules INSTALL_HDR_PATH=$$OUTPUT/usr \ 119 # define if isn't already. It is undefined in make O= case. 132 # make USERCFLAGS=-Werror USERLDFLAGS=-static 136 # When make O= with kselftest target from main level
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/ |
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 90 echo -e "command: make -s $* doc >/dev/null" 91 RST2MAN_OPTS="--exit-status=1" make $J -s $* doc 100 make -s doc-clean 115 echo -e "skip: make tools/bpf OUTPUT=<dir> (not supported)\n" [all …]
|
/kernel/linux/build/ |
D | kernel_build.py | 215 make = f"{cmd} ARCH={arch} CROSS_COMPILE={cross_compile}" 216 outmsg, errmsg, ret = exec_cmd(make, cwd=knl_path) 218 print(f'"{make}" errors --> \n {errmsg}') 219 return ret, f'"{make}" errors --> \n {errmsg}' 221 return ret, f'"{make}" success!' 225 make = f"make {config} ARCH={arch} CROSS_COMPILE={corss_compile}" 226 outmsg, errmsg, ret = exec_cmd(make, cwd=knl_path) 228 print(f'"{make}" errors --> \n {errmsg}') 229 return ret, f'"{make}" errors --> \n {errmsg}' 231 return ret, f'"{make}" success!' [all …]
|
/kernel/linux/linux-5.10/Documentation/kbuild/ |
D | modules.rst | 49 complexity, so one only has to type "make" to build the module. This is 63 An alternative is to use the "make" target "modules_prepare." This will 64 make sure the kernel contains the information required. The target 70 executed to make module versioning work. 77 $ make -C <path_to_kernel_src> M=$PWD 84 $ make -C /lib/modules/`uname -r`/build M=$PWD 89 $ make -C /lib/modules/`uname -r`/build M=$PWD modules_install 96 make -C $KDIR M=$PWD 100 "make" will actually change to the specified directory 112 When building an external module, only a subset of the "make" [all …]
|
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 …]
|
/kernel/linux/linux-5.10/tools/testing/selftests/rcutorture/bin/ |
D | configinit.sh | 33 make clean > $resdir/Make.clean 2>&1 35 make $TORTURE_KMAKE_ARG $TORTURE_DEFCONFIG > $resdir/Make.defconfig.out 2>&1 39 yes '' | make $TORTURE_KMAKE_ARG oldconfig > $resdir/Make.oldconfig.out 2> $resdir/Make.oldconfig.e…
|
/kernel/linux/linux-5.10/drivers/staging/comedi/drivers/ni_routing/tools/ |
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\`" 70 # The make rules are as follows:
|
/kernel/linux/linux-5.10/Documentation/networking/device_drivers/cable/ |
D | sb1000.rst | 26 2. Several PPP scripts which live in /etc/ppp to make connecting via your 57 To make the SB1000 card work, follow these steps: 59 1. Run ``make config``, or ``make menuconfig``, or ``make xconfig``, whichever 61 configuration. Make sure to say "Y" to "Prompt for development drivers" 65 2. **BEFORE** you build the kernel, edit drivers/net/sb1000.c. Make sure 76 IRQ, and DMA settings for all your PnP cards. Make sure none of the settings 86 and do a ``make cmconfig`` and then ``install -c cmconfig /usr/local/sbin``. 87 Don't do ``make install`` because it expects to find all the utilities built 155 /usr/include/linux and /usr/include/asm header files. Make sure you 165 Make sure they don't conflict with any other pieces of hardware first! Then [all …]
|
/kernel/linux/linux-5.10/tools/perf/tests/ |
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 66 # standard single make variable specified 128 MAKE_F := $(MAKE) 130 MAKE_F := $(MAKE) -f $(MK) 298 clean := @(cd $(PERF); $(MAKE_F) -s $(O_OPT) clean >/dev/null && $(MAKE) -s $(O_OPT) -C ../build cl… 333 @echo "- make -C <kernelsrc> $(PARALLEL_OPT) $(K_O_OPT) tools/perf" 335 (make -C ../.. $(PARALLEL_OPT) $(K_O_OPT) tools/perf) > $@ 2>&1 && \ [all …]
|
/kernel/liteos_a/testsuites/ |
D | Makefile | 38 MAKE = make macro 84 do $(MAKE) -C $$dir all || exit 1; \ 86 $(HIDE)echo "=============== make lib done ===============" 89 $(HIDE)$(MAKE) -C ../ lib || exit 1 91 ##### make test menuconfig ##### 110 $(HIDE)$(MAKE) genconfig 114 $(HIDE)$(MAKE) -C ../ clean || exit 1 116 do $(MAKE) -C $$dir clean || exit 1; \
|
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/pmu/ |
D | Makefile | 3 $(MAKE) -C ../ 28 TARGET=ebb; BUILD_TARGET=$$OUTPUT/$$TARGET; $(MAKE) OUTPUT=$$BUILD_TARGET -C $$TARGET run_tests 34 TARGET=ebb; BUILD_TARGET=$$OUTPUT/$$TARGET; $(MAKE) OUTPUT=$$BUILD_TARGET -s -C $$TARGET emit_tests 40 TARGET=ebb; BUILD_TARGET=$$OUTPUT/$$TARGET; $(MAKE) OUTPUT=$$BUILD_TARGET -C $$TARGET install 45 TARGET=ebb; BUILD_TARGET=$$OUTPUT/$$TARGET; $(MAKE) OUTPUT=$$BUILD_TARGET -C $$TARGET clean 48 …TARGET=$@; BUILD_TARGET=$$OUTPUT/$$TARGET; mkdir -p $$BUILD_TARGET; $(MAKE) OUTPUT=$$BUILD_TARGET …
|
/kernel/linux/linux-5.10/Documentation/core-api/ |
D | symbol-namespaces.rst | 27 kernel. As of today, modules that make use of symbols exported into namespaces, 54 and kernel/module.c make use the namespace at build time or module load time, 132 (along with other module meta data). To make the life of module authors (and 133 subsystem maintainers) easier, a script and make target is available to fixup 136 $ make nsdeps 141 - `make` 143 - run `make nsdeps` to add the import to the correct code location 146 Again, `make nsdeps` will eventually add the missing namespace imports for 150 - `make` (preferably with an allmodconfig to cover all in-kernel 153 - run `make nsdeps` to add the import to the correct code location [all …]
|
/kernel/linux/linux-5.10/scripts/ |
D | Kbuild.include | 79 # Note: '2>/dev/null' is here to force Make to invoke a shell. Otherwise, it 82 # GNU Make 4.2.1 release. 155 # Shorthand for $(Q)$(MAKE) -f scripts/Makefile.build obj= 157 # $(Q)$(MAKE) $(build)=dir 161 # Shorthand for $(Q)$(MAKE) -f scripts/Makefile.dtbinst obj= 163 # $(Q)$(MAKE) $(dtbinst)=dir 167 # Shorthand for $(Q)$(MAKE) -f scripts/Makefile.clean obj= 169 # $(Q)$(MAKE) $(clean)=dir 177 # sink stdout for 'make -s' 184 # GNU Make automatically deletes the target if it has already been changed by [all …]
|
/kernel/linux/linux-5.10/tools/usb/usbip/ |
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 …]
|
/kernel/linux/linux-5.10/Documentation/translations/zh_CN/process/ |
D | submit-checklist.rst | 51 10) 使用 ``make checkstack`` 和 ``make namespacecheck`` 并修复他们发现的任何 60 不需要,但也可以。)使用 ``make htmldocs`` 或 ``make pdfdocs`` 检查 85 20) 检查是否全部通过 ``make headers_check`` 。 90 22) 新添加的代码已经用 ``gcc -W`` 编译(使用 ``make EXTRA-CFLAGS=-W`` )。这
|
/kernel/linux/linux-5.10/Documentation/process/ |
D | submit-checklist.rst | 28 Use ``make htmldocs`` or ``make pdfdocs`` to check the build and 56 10) Use ``make checkstack`` and fix any problems that it finds. 66 ``make htmldocs`` or ``make pdfdocs`` to check the 92 21) Check that it all passes ``make headers_check``. 101 ``make EXTRA_CFLAGS=-W``). This will generate lots of noise, but is good 104 24) Tested after it has been merged into the -mm patchset to make sure
|