您的位置:首页 > 运维架构

openwrt 单独编译模块方法

2014-05-23 21:38 1091 查看
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文件中方便查看。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: