Go to file
zhao 303a029c1f 更新 bin/ZeroWrt
Signed-off-by: zhao <zhao@noreply.localhost>
2025-01-25 01:19:55 +08:00
background 上传文件至 background 2025-01-23 14:17:33 +08:00
Script 删除 Script/ZeroWrt/ZeroWrt_Build.sh 2025-01-16 23:41:32 +08:00
bin 更新 bin/ZeroWrt 2025-01-25 01:19:55 +08:00
Config 添加 Config/mtk7986.config 2025-01-21 00:12:44 +08:00
docker-compose 添加 docker-compose/SunPanel 2025-01-24 01:08:10 +08:00
etc 更新 etc/AdGuardHome-mosdns.yaml 2025-01-17 19:22:37 +08:00
Rely 更新 Rely/init_24.04_build.sh 2025-01-07 11:38:41 +08:00
root 更新 root/.bash_profile 2024-12-25 15:09:38 +08:00
hanwckf_mt7981.sh 更新 hanwckf_mt7981.sh 2025-01-21 00:03:19 +08:00
hanwckf_mt7986.sh 更新 hanwckf_mt7986.sh 2025-01-21 00:15:26 +08:00
IPQ807x.sh 更新 IPQ807x.sh 2025-01-19 17:13:25 +08:00
Mediatek_filogic.sh 更新 Mediatek_filogic.sh 2025-01-19 17:12:58 +08:00
README.md 更新 README.md 2025-01-07 11:39:06 +08:00
Rockchip.sh 更新 Rockchip.sh 2025-01-19 17:12:36 +08:00
Smartdns 添加 Smartdns 2025-01-24 17:06:38 +08:00
x86.sh 更新 x86.sh 2025-01-19 17:12:11 +08:00
ZeroWrt_Build.sh 添加 ZeroWrt_Build.sh 2025-01-16 23:41:48 +08:00

要求

要构建此项目Debian 11 是首选。并且您需要使用基于 AMD64 架构的 CPU至少 4GB RAM 和 25GB 可用磁盘空间。确保 Internet 可访问。

编译OpenWrt需要以下工具不同发行版的包名称有所不同

  • 以下是 Debian11/Ubuntu22.04 用户的示例:

    • 方法一 :

      通过 APT 设置依赖项
      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 clang cmake cpio curl device-tree-compiler ecj fastjar flex gawk gettext gcc-multilib g++-multilib git gnutls-dev gperf haveged help2man intltool lib32gcc-s1 libc6-dev-i386 libelf-dev libglib2.0-dev libgmp3-dev libltdl-dev libmpc-dev libmpfr-dev libncurses-dev libpython3-dev libreadline-dev libssl-dev libtool libyaml-dev libz-dev lld llvm lrzsz mkisofs msmtp nano ninja-build p7zip p7zip-full patch pkgconf python3 python3-pip python3-ply python3-docutils python3-pyelftools qemu-utils re2c rsync scons squashfs-tools subversion swig texinfo uglifyjs upx-ucl unzip vim wget xmlto xxd zlib1g-dev zstd
      
    • 方法二 :

      sudo bash -c 'bash <(curl -s https://git.kejizero.online/zhao/files/raw/branch/main/Rely/init_build_environment.sh)'
      
  • 以下是 Ubuntu24.04 用户的示例:

    • 方法一 :

      通过 APT 设置依赖项
      sudo rm -rf /etc/apt/sources.list.d
      sudo bash -c "curl -skL https://git.kejizero.online/zhao/files/raw/branch/main/Rely/sources-24.04.list > /etc/apt/sources.list"
      sudo apt-get update
      sudo apt-get install -y build-essential flex bison cmake g++ gawk gcc-multilib g++-multilib gettext git gnutls-dev libfuse-dev libncurses5-dev libssl-dev python3 python3-pip python3-ply python3-pyelftools rsync unzip zlib1g-dev file wget subversion patch upx-ucl autoconf automake curl asciidoc binutils bzip2 lib32gcc-s1 libc6-dev-i386 uglifyjs msmtp texinfo libreadline-dev libglib2.0-dev xmlto libelf-dev libtool autopoint antlr3 gperf ccache swig coreutils haveged scons libpython3-dev rename qemu-utils jq
      
    • 方法二 :

      sudo bash -c 'bash <(curl -s https://git.kejizero.online/zhao/files/raw/branch/main/Rely/init_24.04_build.sh)'