Git Product home page Git Product logo

hao5119266 / lede Goto Github PK

View Code? Open in Web Editor NEW

This project forked from coolsnowwolf/lede

0.0 0.0 0.0 52.5 MB

My customize for lede

License: GNU General Public License v2.0

Makefile 15.55% Awk 0.05% Shell 8.87% C 58.71% Assembly 0.34% C++ 5.64% HTML 0.36% Lua 0.93% Ada 0.01% Dockerfile 0.01% Python 3.07% Roff 3.23% Batchfile 0.01% JavaScript 0.13% M4 1.07% CMake 0.01% Perl 1.86% Lex 0.06% Yacc 0.11% Objective-C 0.01%

lede's Introduction

Fork From Lean's LEDE: https://github.com/coolsnowwolf/lede

中文:如何编译自己需要的 OpenWrt 固件

注意:
1. 不要用 root 用户 git 和编译!!!
2. 国内用户编译前最好准备好梯子
3. 默认登陆IP 192.168.1.1, 密码 password

编译命令如下:

1. 首先装好 Ubuntu 64bit,推荐  Ubuntu 14 LTS x64
   下载地址:http://releases.ubuntu.com/14.04/

2. 命令行输入 sudo apt-get update ,然后输入
sudo apt-get install build-essential asciidoc binutils bzip2 gawk gettext git libncurses5-dev libz-dev patch unzip zlib1g-dev lib32gcc1 libc6-dev-i386 subversion flex uglifyjs git-core gcc-multilib p7zip p7zip-full msmtp libssl-dev texinfo libglib2.0-dev xmlto qemu-utils 

3. git clone https://github.com/dextercc/lede/ 命令下载好源代码,然后 cd lede 进入目录

4.    ./scripts/feeds update -a
      ./scripts/feeds install -a
       make download V=s //预下载。选择你要的路由,下载编译依赖库
       make defconfig  //验证内容是否完整
       make menuconfig  //重新确认一遍是不是你选择的路由固件

5.     第一次编译建议使用
       make -j1 V=99   //-j1 j后面是线程数。第一次编译推荐用单线程
       后续编译可以直接使用
       make V=99
   

本套代码保证肯定可以编译成功。里面包括了 R8 所有源代码,包括 IPK 的。

你可以自由使用,但源码编译二次发布请注明我的 GitHub 仓库链接。谢谢合作!

lede's People

Contributors

coolsnowwolf avatar aooom avatar imbrolla avatar tossp avatar libc0607 avatar mcucore avatar lga1150 avatar dextercc avatar hcwhan avatar easyteacher avatar binext avatar ntlf9t avatar qlwz avatar wheretoteardown avatar iotsys avatar maninsz avatar mjyhj avatar lphgor avatar dongjuanyong avatar wouldchar avatar victordou avatar ray-chn avatar etnperlong avatar cherisher avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.