回复至:openwrt系统定制
6. openwrt 编译build-in 添加passwall 或第三方主题、插件
源码地址:
- PassWall及其他常用openwrt包源码地址(含argon主题):
https://github.com/kenzok8/openwrt-packages
- SSR-plus源码地址:
https://github.com/fw876/helloworld
- openwrt主题argon源码地址:
https://github.com/jerrykuku/luci-theme-argon
1> 按照本站之前的编译教程: openwrt 固件编译及常见问题 操作,将openwrt的仓库克隆到本地:
# git clone https://github.com/Lienol/openwrt
2> 添加软件包源
# vim /openwrt/feeds.conf.default.
添加如下源:
src-git helloword https://github.com/fw876/helloworld
src-git passwall https://github.com/kenzok8/openwrt-packages
src-git argon https://github.com/jerrykuku/luci-theme-argon
3> 更新及安装源码包
# ./scripts/feeds update -a
# ./scripts/feeds install -a
4> 配置参数,此时已经可以看到配置界面包含了passwall等插件的信息
# make menuconfig
5> 下载dl库文件
# make -j8 download V=s
6> 编译 等待固件输出
# make -j8 V=s
=========================================================
6.1 [new] openwrt编译build in 第三方插件
1> 将源码包下载至package目录
# sudo git clone https://github.com/kiddin9/openwrt-bypass.git
2> 更新源
# sudo ./scripts/feeds update -a
# sudo ./scripts/feeds install -a
3> 重新配置menuconfig,选择刚才添加的插件
# sudo make menuconfig
4>编译 等待固件输出
# sudo make -j8 V=s