添加 README.md

Signed-off-by: zhao <zhao@noreply.localhost>
This commit is contained in:
zhao 2025-01-07 11:29:10 +08:00
parent b9a8dc67c2
commit 430abb0603

27
README.md Normal file
View File

@ -0,0 +1,27 @@
### 要求
要构建此项目Debian 11 是首选。并且您需要使用基于 AMD64 架构的 CPU至少 4GB RAM 和 25GB 可用磁盘空间。确保 __Internet__ 可访问。
编译OpenWrt需要以下工具不同发行版的包名称有所不同
- 以下是 Debian/Ubuntu 用户的示例:<br/>
- 方法一 :
<details>
<summary>通过 APT 设置依赖项</summary>
```bash
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
```
</details>
- 方法二 :
```bash
sudo bash -c 'bash <(curl -s https://git.kejizero.online/zhao/files/raw/branch/main/Rely/init_build_environment.sh)'
```