Coder Social home page Coder Social logo

victorzheng1010 / openwrt Goto Github PK

View Code? Open in Web Editor NEW

This project forked from lienol/openwrt

0.0 0.0 0.0 218.87 MB

Lienol's Modified OpenWrt source

License: GNU General Public License v2.0

Makefile 6.11% Awk 0.02% Shell 3.31% C 56.56% Assembly 0.55% C++ 2.44% Lua 1.17% HTML 0.46% M4 0.39% Ada 0.01% JavaScript 0.05% Objective-C 27.38% Roff 0.72% Python 0.11% CMake 0.01% Perl 0.69% Lex 0.02% Yacc 0.04%

openwrt's Introduction

编译命令如下:

  1. 首先装好 Ubuntu 64bit,推荐 Ubuntu 18 LTS x64

  2. 命令行输入 sudo apt-get update ,然后输入 sudo apt-get -y install build-essential asciidoc binutils bzip2 gawk gettext git libncurses5-dev libz-dev patch python3.5 python2.7 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 upx libelf-dev autoconf automake libtool autopoint device-tree-compiler g++-multilib antlr3 gperf

  3. git clone -b dev-19.07 https://github.com/Lienol/openwrt op19 命令下载好源代码,然后 cd op19 进入目录

  4. ./scripts/feeds clean
    ./scripts/feeds update -a
    ./scripts/feeds install -a
    make menuconfig
  5. make -j8 download V=s 下载dl库(国内请尽量全局科学上网)

  6. 输入 make -j1 V=s (-j1 后面是线程数。第一次编译推荐用单线程)即可开始编译你要的固件了。

  7. 编译完成后输出路径:op-19/bin/targets

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


My app source code: https://github.com/Lienol/openwrt-package

This is the buildsystem for the OpenWrt Linux distribution.

To build your own firmware you need a Linux, BSD or MacOSX system (case sensitive filesystem required). Cygwin is unsupported because of the lack of a case sensitive file system.

You need gcc, binutils, bzip2, flex, python, perl, make, find, grep, diff, unzip, gawk, getopt, subversion, libz-dev and libc headers installed.

  1. Run "./scripts/feeds update -a" to obtain all the latest package definitions defined in feeds.conf / feeds.conf.default

  2. Run "./scripts/feeds install -a" to install symlinks for all obtained packages into package/feeds/

  3. Run "make menuconfig" to select your preferred configuration for the toolchain, target system & firmware packages.

  4. Run "make" to build your firmware. This will download all sources, build the cross-compile toolchain and then cross-compile the Linux kernel & all chosen applications for your target system.

Sunshine! Your OpenWrt Community http://www.openwrt.org

openwrt's People

Contributors

acinonyx avatar acoul avatar blocktrron avatar blogic avatar chunkeey avatar dangowrt avatar dedeckeh avatar diizzyy avatar embeem avatar ffainelli avatar hauke avatar jow- avatar juhosg avatar kaloz avatar kanjimonster avatar larsclausen avatar ldir-edb0 avatar lienol avatar lperkov avatar mkresin avatar nbd168 avatar neheb avatar neocturne avatar pepe2k avatar rmilecki avatar rwhitby avatar stintel avatar wigyori avatar ynezz avatar yousong 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.