openwrt lede开源编译
get openrwrt source code
[mark@localhost openwrt]$ git clone https://github.com/openwrt/openwrt.git
构建编译openwrt环境
[root@localhost openwrt]# yum install subversion binutils bzip2 gcc gcc-c++ gawk gettext flex ncurses-devel zlib-devel zlib-static make patch unzip \
perl-ExtUtils-MakeMaker glibc glibc-devel glibc-static quilt ncurses-libs sed sdcc intltool sharutils bison wget git-core openssl-devel xz
编译openwrt
1. 修改feeds.conf.default
2. 更新和安装feeds
[mark@localhost openwrt-lede-17.01]$ ./scripts/feeds update -a
[mark@localhost openwrt-lede-17.01]$ ./scripts/feeds install -a
3. 通过make menuconfig 如下
4. 编译version
[mark@localhost openwrt-lede-17.01]# make V=99