Code Monkey home page Code Monkey logo

blog-comments's People

Stargazers

 avatar

Watchers

 avatar

blog-comments's Issues

Build Your Custom OpenWrt Image — Le's Zone

https://leyao-daily.github.io/2021/04/22/OpenWrt-BKM/

Build Your Custom OpenWrt ImageThis guides to build your OpenWrt Image integrated with custom application step by step.Setup OpenWrtPre-requisitesDebian / Ubuntusudo apt updatesudo apt install build-essential ccache ecj fastjar file g++ gawk \gettext git java-propose-classpath libelf-dev libncurses5-dev \libncursesw5-dev libssl-dev python python2.7-dev python3 unzip wget \python3-distutils python3-setuptools rsync subversion swig time \xsltproc zlib1g-dev CentOS / Fedorasudo dnf --skip-broken install bash-completion bzip2 gcc gcc-c++ git \make ncurses-devel patch perl-Data-Dumper perl-Thread-Queue python2 \python3 rsync tar unzip wget perl-base perl-File-Compare \perl-File-Copy perl-FindBin diffutils whichFor other Linux distributions, you can take this for reference.Build OpenWrt form source codeYou need leave the sudo privileged mode to get better cross-compile by ctrl + d or exit. Get the OpenWrt source code git clone https://git.openwrt.org/openwrt/openwrt.gitcd openwrt Build from main branch or stable release branch # To build from a specific versiongit branchgit checkout # Or just skip to 3 to build from main branch Update and install feeds ./scripts/feeds update -a./scripts/feeds install -a Configure make menuconfig E.g. for target “TL-WR841N v11” Wi-Fi router do following: “Target System” ⇒ “Select” ⇒ “Atheros AR7xxx/AR9xxx” ⇒ “Select” “Subtarget” ⇒ “Select” ⇒ “Devices with small flash” ⇒ “Select” “Target Profile” ⇒ “Select” ⇒ “TP-LINK TL-WR841N/ND v11” ⇒ “Select” To exit OpenWrt configuration and save target with options settings do following: “Exit” ⇒ “Yes” Build image make# For faster compiling, use make -j N, where N is the number of CPU cores + 1. And the target image will be generated into ./bin/target/.... Create your own applicationLocate your applicationSuppose we create a project named hellosdewan.mkdir hellosdewancd hellosdewanpwd# /home/icn/hellosdewanWe create the sole source code file named hellosdewan.c.touch hellosdewan.cAnd input the following content:#include <stdio.h> int main(void){ printf(

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.