onice -c 3 nice -n 20 make -j 2
make package/cups/compile V=99
make V=99 2>&1 |tee build.log |grep -i error
说明:将编译的所有输出信息保存在build.log中,将error信息打印在屏幕上。$ ionice -c 3 nice -n 20 make -j 2 V=99 CONFIG_DEBUG_SECTION_MISMATCH=y 2>&1 \|tee build.log |egrep -i '(warn|error)'
说明:将编译的所有输出信息保存在build.log中,将error和warning信息打印在屏幕上。编译过程使用双核CPU,占用后台资源。