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

评论

此博客中的热门博文

yt-dlp详细使用教程参考,其中下载播放列表有效

OpenWrt作为旁路由配置Wireguard 实现内网穿透

本地编译openwrt ,自动执行。