openwrt编译记录

1-update apt source
sudo apt-get update
2-install
sudo apt-get install git-core build-essential libncurses5-dev zlib1g-dev gawk flex quilt libssl-dev xsltproc libxml-parser-perl mercurial bzr ecj cvs unzip subversion
3-get source
git clone https://github.com/openwrt/openwrt.git
4-replace git source in file feeds.conf/feeds.conf.default
src-git packages https://github.com/openwrt/packages.git
src-git luci https://github.com/openwrt/luci.git
src-git routing https://github.com/openwrt-routing/packages.git
src-git telephony https://github.com/openwrt/telephony.git
5-update feeds
./scripts/feeds update -a
6-install feeds
./scripts/feeds install -a
补上缺失包

sudo apt-get install libpam0g-dev
sudo apt-get install libgnutls-dev
sudo apt-get install libidn2-0-dev
sudo apt-get install libssh2-1-dev
sudo apt-get install liblzma-dev
sudo apt-get install libjansson-dev

7-config
make menuconfig
LuCI -->

          Collections -->

               < * > luci

          Applications-->

              <* > luci-app-ddns

              <* > luci-app-firewall

              <* > luci-app-ntpc

              <* > luci-app-samba

          Themes-->全选
8-compile
make

发布了26 篇原创文章 · 获赞 2 · 访问量 5万+

猜你喜欢

转载自blog.csdn.net/lang999888/article/details/85341592