下载配置编译openwrt
环境:fedora 7
SOC:RT5350
1 安装相关工具和库
1.1安装svn工具
安装svn工具,用于下载openwrt源码(要先保证可以上网):
#yum install subversion
1.2安装git工具
#yum install git-core
1.3安装依赖的库文件
#yum install gcc g++ binutils patch bzip2 flex bison make autoconf gettexttexinfo unzip sharutils ncurses-termzlib1g-dev libncurses5-dev gawk
2 下载openwrt源码
编译openwrt 首先需要下载源码,openwrt的源码是通过svn 下载,在/home/jiangxin目录下新建一个openwrt文件夹,使用svn下载源码。
# cd /home/jiangxin
# mkdir openwrt
# cd openwrt/
# svn checkoutsvn://svn.openwrt.org/openwrt/trunk
等待下载即可,下载完成后如下图,取出版本44597