openwrt二次编译
二次编译:
cd lede
git pull
./scripts/feeds update -a
./scripts/feeds install -a
make defconfig
make download -j8
make V=s -j$(nproc)
如果需要重新配置:
rm -rf .config
make menuconfig
make V=s -j$(nproc)
编译完成后输出路径:bin/targets
附:
git pull的时候发生冲突的解决方法之“error: Your local changes to the following files would be overwritten by merge”
方法二、放弃本地修改,直接覆盖
1 git reset --hard
2 git pull
评论
发表评论