3
3
I18N: [ English] ( README_EN.md ) | [ 简体中文] ( README.md ) | [ 日本語] ( README_JA.md )
4
4
5
5
## 官方讨论群
6
+
6
7
如有技术问题需要讨论或者交流,欢迎加入以下群:
8
+
7
9
1 . QQ 讨论群: Op固件技术研究群 ,号码 891659613 ,加群链接:[ 点击加入] ( https://jq.qq.com/?_wv=1027&k=XL8SK5aC " Op固件技术研究群 ")
8
10
2 . TG 讨论群: OP 编译官方大群 ,加群链接:[ 点击加入] ( https://t.me/JhKgAA6Hx1 " OP 编译官方大群 ")
9
11
@@ -15,7 +17,6 @@ I18N: [English](README_EN.md) | [简体中文](README.md) | [日本語](README_J
15
17
16
18
[ ![ r1] ( doc/r1.jpg )] ( https://item.taobao.com/item.htm?id=721197662185 )
17
19
18
-
19
20
## 注意
20
21
21
22
1 . ** 不要用 root 用户进行编译**
@@ -33,11 +34,11 @@ I18N: [English](README_EN.md) | [简体中文](README.md) | [日本語](README_J
33
34
sudo apt full-upgrade -y
34
35
sudo apt install -y ack antlr3 asciidoc autoconf automake autopoint binutils bison build-essential \
35
36
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
41
42
```
42
43
43
44
3 . 下载源代码,更新 feeds 并选择配置
@@ -77,14 +78,14 @@ make V=s -j$(nproc)
77
78
如果需要重新配置:
78
79
79
80
``` bash
80
- rm -rf ./tmp && rm -rf . config
81
+ rm -rf .config
81
82
make menuconfig
82
83
make V=s -j$( nproc)
83
84
```
84
85
85
86
编译完成后输出路径:bin/targets
86
87
87
- ### 如果你使用 WSL/WSL2 进行编译
88
+ ### 使用 WSL/WSL2 进行编译
88
89
89
90
由于 WSL 的 PATH 中包含带有空格的 Windows 路径,有可能会导致编译失败,请在 ` make ` 前面加上:
90
91
@@ -95,7 +96,7 @@ PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
95
96
由于默认情况下,装载到 WSL 发行版的 NTFS 格式的驱动器将不区分大小写,因此大概率在 WSL/WSL2 的编译检查中会返回以下错误:
96
97
97
98
``` 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
99
100
```
100
101
101
102
一个比较简洁的解决方法是,在 ` git clone ` 前先创建 Repository 目录,并为其启用大小写敏感:
@@ -152,8 +153,6 @@ PS > git clone
[email protected] :coolsnowwolf/lede.git <your_local_lede_path>
152
153
153
154
4 . 存档版本仓库地址:< https://github.com/coolsnowwolf/openwrt >
154
155
155
-
156
-
157
156
## 捐贈
158
157
159
158
如果你觉得此项目对你有帮助,可以捐助我们,以鼓励项目能持续发展,更加完善
0 commit comments