🚀️ 🌕️ 🌞️ 🍺️ 🐳 🐠 🐟 🐡 🐬 🐋 🦈 🦆 🦅 🦉 🐓 🦃 🐌 🐌
| 序号 | 平台+设备名称 | 编译状态+下载链接 |
|---|---|---|
| 1 | ||
| 2 | ||
| 3 | ||
| 4 | ||
| 5 | ||
| 6 | ||
| 7 | ||
| 8 | ||
| 9 | ||
| 10 | ||
| 11 | ||
| 12 | ||
| 13 | ||
| 14 |
- 自用固件仅包含 (pw,S,上网时间控制,upnp,ddns,去广告,多拨,负载均衡,流量监控,主题只加入了jerrykuku的18.06 luci-theme-argon以及infinityfreedom等主题)
- 首先装好 Linux 系统,推荐 Debian 11 或 Ubuntu LTS
- 命令行输入
sudo apt-get updatesudo apt-get -y install build-essential asciidoc binutils bzip2 gawk gettext git libncurses5-dev patch python3 python2.7 unzip zlib1g-dev lib32gcc1 libc6-dev-i386 subversion flex node-uglify git gcc-multilib p7zip p7zip-full msmtp libssl-dev texinfo libglib2.0-dev xmlto qemu-utils upx-ucl libelf-dev autoconf automake libtool autopoint device-tree-compiler g++-multilib antlr3 gperf wget curl swig rsync
sudo apt update -y sudo apt full-upgrade -y sudo apt install -y ack antlr3 asciidoc autoconf automake autopoint binutils bison build-essential
bzip2 ccache cmake cpio curl device-tree-compiler fastjar flex gawk gettext gcc-multilib g++-multilib
git gperf haveged help2man intltool libc6-dev-i386 libelf-dev libglib2.0-dev libgmp3-dev libltdl-dev
libmpc-dev libmpfr-dev libncurses5-dev libncursesw5-dev libreadline-dev libssl-dev libtool lrzsz
mkisofs msmtp nano ninja-build p7zip p7zip-full patch pkgconf python2.7 python3 python3-pip qemu-utils
rsync scons squashfs-tools subversion swig texinfo uglifyjs upx-ucl unzip vim wget xmlto xxd zlib1g-dev
-
使用
git clone https://github.com/coolsnowwolf/lede命令下载好源代码,然后cd lede进入目录 -
make -j8 download V=s下载dl库(国内请尽量全局科学上网) -
输入
make -j1 V=s(-j1 后面是线程数。第一次编译推荐用单线程)即可开始编译你要的固件了。
本套代码保证肯定可以编译成功。里面包括了 R21 所有源代码,包括 IPK 的。
二次编译:
cd lede
git pull
./scripts/feeds update -a && ./scripts/feeds install -a
make defconfig
make -j8 download
make -j$(($(nproc) + 1)) V=s如果需要重新配置:
rm -rf ./tmp && rm -rf .config
make menuconfig
make -j$(($(nproc) + 1)) V=s编译完成后输出路径:bin/targets
同意工作流,然后开整。
黑屏 按 Ctrl+C变为命令行模式 ;
输入 cd openwrt/ && make menuconfig 进入菜单
cd openwrt/ && make menuconfig
插件对照参考 OpenWrt 编译 LuCI -> Applications 添加插件应用说明-L大
Y 确定选中 N取消选中
或者 连按两下 ESC 返回至退出菜单界面,
会弹出确认是否保存菜单,确认即可

下次升级就可以直接用,不必再 ssh 选择插件了
rm -f .config.old && make defconfig && ./scripts/diffconfig.sh > seed.config && cat seed.config
*自己复制保存到合适的位置 *在手动修改成项目的 .config 文件
源代码中绝不含任何后门和可以监控或者劫持你的 HTTPS 的闭源软件, SSL 安全是互联网最后的壁垒。安全干净才是固件应该做到的;
MIT © P3TERX
20260321











