OpenWrt Directory Analysis

Source: Internet
Author: User

Reference Link: http://blog.csdn.net/kingvenll/article/details/27545221

A talk about the directory structure and function of OpenWrt (including the files generated after compilation)

My level is limited, is a small white one, the level of lack please forgive me.

--bin Compiled bin firmware storage directory, including many IPK files, is the package directory software rules generated packages, can be used on the route opkg install XXX.IPK installation--build_d During the IR compilation process, the source package is decompressed and compiled to generate the various software bin files, like a temporary transit station    ---build_dir/host directory is a temporary directory when the tool chain is established    ---build_dir/toolchain-<arch>* is the directory of the tool chain that corresponds to the hardware---build_dir/Target-<arch>* is the directory of all packages extracted and compiled--config some compilation configuration--dl ' download ' abbreviation, compile a package, need its source code compression package, if in the DL directory can not find this package, will be downloaded according to the rules of the package to go to the network, stored in the DL directory--docs help document--feeds record the software source directory, the./scripts/feeds Update for the software source updates, stored in the feeds directory --include Store a large number of software and the kernel of the Mk file, that is, makefile file--package./scripts/feeds install-a, the configuration file for the software source description of the feeds directory is installed in the package directory--SC Ripts stores some scripts where the feeds script contains features such as Update,install,uninstall--staging_dir    ---staging_dir/toolchain-<arch>* is where the tool chain is installed--target---The target/linux/<platform> directory is the relevant code for each platform (arch)-- -target/linux/<platform>/config-3.10 file is the kernel configuration file--tmp record make Menuconfig configuration rules, empty this directory, re-made Menuconfig, will re-check the compilation Rule--toolchain cross-compile toolchain script rule--tools Other script rules that assist the compilation tool--feeds.conf.default record the software source,./scripts/feeds update will be based on the URL in this file, the software Clone of the source

OpenWrt Directory Analysis

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.