linux 内核编译只输出 warning 及 error 实现的方法是输出重定向,以下实现将所有无价值的输出重定向到 无返回的黑洞中。 $ make > /dev/null 或者,编译内核时: $ make uImage > /dev/null