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