Skip to content

Commit ed7014b

Browse files
committed
doc: update build dependence
1 parent 65d8795 commit ed7014b

File tree

1 file changed

+10
-11
lines changed

1 file changed

+10
-11
lines changed

README.md

+10-11
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@
33
I18N: [English](README_EN.md) | [简体中文](README.md) | [日本語](README_JA.md)
44

55
## 官方讨论群
6+
67
如有技术问题需要讨论或者交流,欢迎加入以下群:
8+
79
1. QQ 讨论群: Op固件技术研究群 ,号码 891659613 ,加群链接:[点击加入](https://jq.qq.com/?_wv=1027&k=XL8SK5aC "Op固件技术研究群")
810
2. TG 讨论群: OP 编译官方大群 ,加群链接:[点击加入](https://t.me/JhKgAA6Hx1 "OP 编译官方大群")
911

@@ -15,7 +17,6 @@ I18N: [English](README_EN.md) | [简体中文](README.md) | [日本語](README_J
1517

1618
[![r1](doc/r1.jpg)](https://item.taobao.com/item.htm?id=721197662185)
1719

18-
1920
## 注意
2021

2122
1. **不要用 root 用户进行编译**
@@ -33,11 +34,11 @@ I18N: [English](README_EN.md) | [简体中文](README.md) | [日本語](README_J
3334
sudo apt full-upgrade -y
3435
sudo apt install -y ack antlr3 asciidoc autoconf automake autopoint binutils bison build-essential \
3536
bzip2 ccache cmake cpio curl device-tree-compiler fastjar flex gawk gettext gcc-multilib g++-multilib \
36-
git gperf haveged help2man intltool libc6-dev-i386 libelf-dev libglib2.0-dev libgmp3-dev libltdl-dev \
37-
libmpc-dev libmpfr-dev libncurses5-dev libncursesw5-dev libreadline-dev libssl-dev libtool lrzsz \
38-
mkisofs msmtp nano ninja-build p7zip p7zip-full patch pkgconf python2.7 python3 python3-pyelftools \
39-
libpython3-dev qemu-utils rsync scons squashfs-tools subversion swig texinfo uglifyjs upx-ucl unzip \
40-
vim wget xmlto xxd zlib1g-dev python3-setuptools
37+
git gperf haveged help2man intltool libc6-dev-i386 libelf-dev libfuse-dev libglib2.0-dev libgmp3-dev \
38+
libltdl-dev libmpc-dev libmpfr-dev libncurses5-dev libncursesw5-dev libpython3-dev libreadline-dev \
39+
libssl-dev libtool lrzsz mkisofs msmtp ninja-build p7zip p7zip-full patch pkgconf python2.7 python3 \
40+
python3-pyelftools python3-setuptools qemu-utils rsync scons squashfs-tools subversion swig texinfo \
41+
uglifyjs upx-ucl unzip vim wget xmlto xxd zlib1g-dev
4142
```
4243

4344
3. 下载源代码,更新 feeds 并选择配置
@@ -77,14 +78,14 @@ make V=s -j$(nproc)
7778
如果需要重新配置:
7879

7980
```bash
80-
rm -rf ./tmp && rm -rf .config
81+
rm -rf .config
8182
make menuconfig
8283
make V=s -j$(nproc)
8384
```
8485

8586
编译完成后输出路径:bin/targets
8687

87-
### 如果你使用 WSL/WSL2 进行编译
88+
### 使用 WSL/WSL2 进行编译
8889

8990
由于 WSL 的 PATH 中包含带有空格的 Windows 路径,有可能会导致编译失败,请在 `make` 前面加上:
9091

@@ -95,7 +96,7 @@ PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
9596
由于默认情况下,装载到 WSL 发行版的 NTFS 格式的驱动器将不区分大小写,因此大概率在 WSL/WSL2 的编译检查中会返回以下错误:
9697

9798
```txt
98-
Build dependency: OpenWrt can only be built on a case-sensitive filesystem
99+
Build dependency: OpenWrt can only be built on a case-sensitive filesystem
99100
```
100101

101102
一个比较简洁的解决方法是,在 `git clone` 前先创建 Repository 目录,并为其启用大小写敏感:
@@ -152,8 +153,6 @@ PS > git clone [email protected]:coolsnowwolf/lede.git <your_local_lede_path>
152153

153154
4. 存档版本仓库地址:<https://github.com/coolsnowwolf/openwrt>
154155

155-
156-
157156
## 捐贈
158157

159158
如果你觉得此项目对你有帮助,可以捐助我们,以鼓励项目能持续发展,更加完善

0 commit comments

Comments
 (0)