搭建环境之前我们需要安装一些依赖:
sudo apt-get install gcc
sudo apt-get install g++
sudo apt-get install binutils
sudo apt-get install patch
sudo apt-get install bzip2
sudo apt-get install flex
sudo apt-get install bison
sudo apt-get install make
sudo apt-get install autoconf
sudo apt-get install gettext
sudo apt-get install texinfo
sudo apt-get install unzip
sudo apt-get install sharutils
sudo apt-get install subversion
sudo apt-get install libncurses5-dev
sudo apt-get install ncurses-term
sudo apt-get install zlib1g-dev
sudo apt-get install gawk
sudo apt-get install asciidoc
sudo apt-get install libz-dev
sudo apt-get install git git-man liberror-perl libsigsegv2
1、创建一个工作文件夹
mkdir mt7688
2、将SDK拷贝到工作目录
3、解压
4、到RT288x_SDK/toolchain 中安装编译工具
-----------------------------------------------------------------------------------------------------
到这里文件已经搭建好了环境,剩下的就是编译SDK了