峯言凬语 My life is brilliant~
常用标签
July 19, 2019

*基于lean,https://github.com/coolsnowwolf/lede
*编译前准备好梯子
*不要用root来git和编译
*默认IP 192.168.1.1, 密码 password
*Ubuntu 18.04 LTS 64bit
sudo apt-get update
sudo apt-get -y install build-essential asciidoc binutils bzip2 gawk gettext git libncurses5-dev libz-dev patch unzip zlib1g-dev lib32gcc1 libc6-dev-i386 subversion flex uglifyjs git-core gcc-multilib p7zip p7zip-full msmtp libssl-dev texinfo libglib2.0-dev xmlto qemu-utils upx libelf-dev autoconf automake libtool autopoint
git clone https://github.com/coolsnowwolf/lede
cd lede
./scripts/feeds update -a
./scripts/feeds install -a
make defconfig
make menuconfig
*选择Soc,<*>编译进固件,<m>编译不进固件,确定路由配置
*预下载dl库可以避免下载造成的编译失败
*编译冲突,配置还原到初始状态命令 rm -f .config && rm -f .config.old
make download V=s
make -j1 V=s
*-j1 后面是线程数,推荐单线程编译
*全局科学上网
*GoodLuck!

支持$$ code:
echo 0xDEADBEEF > /etc/config/google_fu_mode

暂无评论

添加新评论