openWRT编译环境

1. 环境

yum -y install git
yum -y install autoconf binutils bison bzip2 flex gawk gcc gcc-c++ gettext make ncurses-devel patch unzip wget zlib-devel curl curl-devel openssl-devel perl perl-devel cpio expat-devel gettext-devel xz openssh-clients subversion cmake libtool

 

2. 下载源码

git clone https://github.com/lede-project/source.git

3. 升级库

./scripts/feeds update -a
./scripts/feeds install -a

 

4. 配置&编译( 手上机器是MT7620N杂牌子,所以选 MediaTek Ralink MIPS基本板)

make menuconfig
make download
make v=99

posted @ 2018-10-30 09:43  睡觉的虫  阅读(379)  评论(0编辑  收藏  举报