Tom*_*mas 3 command-line compiling make
我不明白编译 openWRT 的命令之一。
make -j N V=m
编译openWRT时命令的含义是什么?
例如,make -j8 V=99
。
make
此处可用的 2 个选项是:
-j8
:此选项指定要同时运行的作业数。从make
手册页:
-j [jobs], --jobs[=jobs]
Specifies the number of jobs (commands) to run simultaneously. If there is more
than one -j option, the last one is effective. If the -j option is given with-
out an argument, make will not limit the number of jobs that can run simultaneously.
Run Code Online (Sandbox Code Playgroud)V=99
:此选项控制您在此make
过程中将接触到的详细程度和类型。这不是特定于make
自身,而是特定于OpenWrt
makefile。在源代码中查看创建include/verbose.mk
以下链接的文件:
- Verbose = V
- Verbosity level 1 = w (warnings/errors only)
- Verbosity level 99 = s (This gives stdout+stderr)
Run Code Online (Sandbox Code Playgroud)参考: