mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-16 04:13:31 +00:00
Update README.md (#4037)
* Update README.md * Update README.md * Update README.md * Update README.md
This commit is contained in:
parent
335ed370de
commit
c4fcae7e00
27
README.md
27
README.md
@ -27,7 +27,7 @@ sudo apt-get -y install build-essential asciidoc binutils bzip2 gawk gettext git
|
||||
make menuconfig
|
||||
```
|
||||
|
||||
5. `make download v=s` 下载dl库(国内请尽量全局科学上网)
|
||||
5. `make -j8 download v=s` 下载dl库(国内请尽量全局科学上网)
|
||||
|
||||
|
||||
6. 输入 `make -j1 V=s` (-j1 后面是线程数。第一次编译推荐用单线程)即可开始编译你要的固件了。
|
||||
@ -38,18 +38,21 @@ sudo apt-get -y install build-essential asciidoc binutils bzip2 gawk gettext git
|
||||
=
|
||||
|
||||
二次编译:
|
||||
```bash
|
||||
cd lede
|
||||
git pull
|
||||
./scripts/feeds update -a && ./scripts/feeds install -a
|
||||
make defconfig
|
||||
make -j8 download
|
||||
make -j$(($(nproc) + 1)) V=s
|
||||
```
|
||||
|
||||
`cd lede`
|
||||
`git pull`
|
||||
`./scripts/feeds update -a && ./scripts/feeds install -a`
|
||||
`make defconfig`
|
||||
`make -jn V=s` n=线程数+1,例如4线程的I5填-j5,开始编译
|
||||
|
||||
需要重新配置:
|
||||
|
||||
`rm -rf ./tmp && rm -rf .config`
|
||||
`make menuconfig`
|
||||
`make -jn V=s` n=线程数+1,例如4线程的I5填-j5,开始编译
|
||||
如果需要重新配置:
|
||||
```bash
|
||||
rm -rf ./tmp && rm -rf .config
|
||||
make menuconfig
|
||||
make -j$(($(nproc) + 1)) V=s
|
||||
```
|
||||
|
||||
编译完成后输出路径:/lede/bin/targets
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user