1.将命令的执行结果输出到终端,同时又将输出的内容(标准输出和错误输出)写入文件
make -j12 2>&1 | tee build.log
2.可以查看最新提交的修改文件,如果想查看指定提交的修改文件信息,可以在后面跟上commit-id,例如: git show --stat 2447e2b9c15472f2ead7bf451aa5fc9c3f34f5ee
git show --stat
3.将内核以rpm格式打包
./scripts/buildrpm.sh
4.可以在这里找到麒麟系统的安装包(如fio、perf…)
vim /etc/yum.repos.d/kylin_x86_64.repo
5.检查代码规范
./scripts/checkpatch.pl --strict --no-signoff --showfile --terse