openwrt-build

OpenWrt 构建

参考链接

  1. 安装Ubuntu
  2. 安装工具
1
sudo apt-get install g++ libncurses5-dev zlib1g-dev bison flex unzip autoconf gawk make gettext gcc binutils patch bzip2 libz-dev asciidoc subversion sphinxsearch libtool sphinx-common
  1. 下载OpenWrt源码并编译
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
mkdir openwrt
sudo chmod 777 openwrt
cd openwrt

svn co svn://svn.openwrt.org/openwrt/branches/backfire/
# https://github.com/openwrt/openwrt.git
cp feeds.conf.default feeds.conf
./scripts/feeds update -a
./scripts/feeds install -a

make defconfig
make menuconfig
  1. 配置

openwrt-make

  1. 编译
1
make -j V=99
Built with Hugo
主题 StackJimmy 设计