Ubuntu下lede源码的下载与编译

  1.首先先配置lede源码编译环境

     sudo apt-get update
     sudo apt-get upgrade
     sudo apt-get install build-essential
     sudo apt-get install subversion
     sudo apt-get install git-core
     sudo apt-get install libncurses5-dev
     sudo apt-get install zlib1g-dev
     sudo apt-get install gawk
     sudo apt-get install flex
     sudo apt-get install quilt
     sudo apt-get install libssl-dev
     sudo apt-get install xsltproc
     sudo apt-get install libxml-parser-perl
     sudo apt-get install mercurial
     sudo apt-get install bzr
     sudo apt-get install ecj
     sudo apt-get install cvs
     sudo apt-get install unzip


     基本上配置这些就可以了。


  2.下载源码

       git clone -b lede-17.01 https://git.lede-project.org/source.git  (稳定版源码)

       git clone https://github.com/lede-project/source.git      (最新版源码)

      ./scripts/feeds update -a
      ./scripts/feeds install -a
       make download V=s 下载编译依赖库

       make defconfig
       make menuconfig

       make V=99

       

  

你可能感兴趣的:(Ubuntu下lede源码的下载与编译)