OpenWrt编译简单过程
1,OpenWrt编译环境准备
sudo apt-get install gcc g++ binutils patch bzip2 flex bison make autoconf gettext texinfo unzip sharutils subversion libncurses5-dev ncurses-term zlib1g-dev
2,下载OpenWrtbarkfile or trunk 源码
mkdir openwrt && cd openwrt
svn co svn://svn.openwrt.org/openwrt/branchs/backfile or trunk测试版本
cd backfire or trunk
./scripts/feeds update -a 更新软件包
./scripts/feeds install -a 安装软件包
3,make menuconfig进行定制配置
4,开始编译
make -j V=99
嵌入式交叉编译环境
http://jingyan.baidu.com/article/215817f7e8daa21eda1423dc.html
时间: 2024-11-05 22:52:05