打好掼蛋的关键:耐心、细心。如绣花一般。
使用 OpenWrt 23.05.5 官网源码编译固件 创建日期:2023/04/05 修改日期:2024/10/27
使用 OpenWrt 23.05.5 官网源码编译固件 创建日期:2023/04/05 修改日期:2024/10/27 下文以官方 23.05.5 为例 下文以为 x86 架构编译为例,若为其他平台(路由器、树莓派等其他架构)则下文中获取内核的魔法值、菜单配置需自行更改 前言 用过大佬编译好的固件,也自己基于大佬的固件手动编译,最终还是决定用官方的源码编译,只加入自己想要的软件 相关链接: 官方的地址 源码: https://github.com/openwrt/openwrt 固件: https://downloads.openwrt.org 大佬的源码: Lean's LEDE : https://github.com/coolsnowwolf/lede Lienol's OpenWrt : https://github.com/Lienol/openwrt 准备工作 环境 系统:Debian 11 x64位系统 网络:可以访问外网( 国内请全局科学上网 ) 磁盘:大约有 30G 的空闲空间 内存:至少 4G 物理内存 CPU:越快越好,影响编译速度 依赖 以 root 用户执行以下命令或者有 root 权限的用户 sudo apt update - y sudo apt install - y ack antlr3 aria2 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 libreadlin...
评论
发表评论