Compile openwrt for newifi

Table of Contents

1 依赖安装

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

2 项目地址

3 编译

cd lede   
git pull  
./scripts/feeds update -a && ./scripts/feeds install -a  
rm -rf ./tmp && rm -rf .config      
make menuconfig
make -j1 V=s

4 newifi-d2 配置

Target System (MediaTek Ralink MIPS)
Subtarget (MT7621 based boards)
Target Profile (Newifi D2)

5 编译包位置

lede/bin/targets/ramips/mt7621/openwrt-ramips-mt7621-d-team_newifi-d2-squashfs-sysupgrade.bin