openwrt 中make的使用

make 命令简单说明
  make V=99
  V=99表示输出详细的debug信息

  make world
  表示编译所有

  make j=2 V=99
  如是多核CPU,加j=2 选项理论上能加快编译速度
  make -j 2 V=99可加快编译速度(不推荐使用)

  只清除某个模块
  make package/qos/clean

  只编译某个模块
  make package/qos/clean
  make package/qos/compile
  make package/qos/install

  make V=99 | tee compile_v1.0.0.log
  混合 tee 命令将编译信息放到compile_v1.0.0.log文件中方便查看。

原文地址:https://www.cnblogs.com/rohens-hbg/p/4835111.html