当前位置:网站首页>Openwrt directory structure
Openwrt directory structure
2022-06-23 04:51:00 【Handsome without friends~】
openwrt Directory structure
One : Directory structure

- build_dir
This is an intermediate folder , All the code will be copied into it and compiled , The code will be copied to this directory before compilation . Why copy ? One reason is that during compilation OpenWrt Some of the code and makefile Make changes , For safety's sake , Compile the copy .
Its contents and staging_dir As like as two peas ,staging_dir Namely build_dir Compilation results of the code in .- host:
Platform independent tools 、 Library code - target-arm_cortex-a7+neon-vfpv4_musl-1.1.16_eabi:
Tool chain source code - toolchain-arm_cortex-a7+neon-vfpv4_gcc-5.4.0_musl-1.1.16_eabi:
Platform related code , There are some code packages ,packge Many code packages in will be copied to this directory for compilation , The code package you add should also be copied to this directory
- host:
- staging_dir
Directory saving tool 、 Compilation results of all code such as the kernel .- host:
Folders are platform independent artifacts . - target-arm_cortex-a7+neon-vfpv4_musl-1.1.16_eabi:
Based on the platform and chip we selected , The compilation results of the corresponding platform . For example, the library file and header file of the corresponding platform . - toolchain-arm_cortex-a7+neon-vfpv4_gcc-5.4.0_glibc-2.24_eabi:
Cross compile tool chains and library files generated according to the selected platform .
- host:
- dl
dl Download directory for source code , Source code packages downloaded during compilation will be saved in this folder - feeds
- files
- package
This directory mainly stores OpenWrt Software package , The application layer code we add should be stored in this folder , The code package is stored in this folder and the corresponding Makefile after , During the compilation process OpenWrt Be able to identify and compile .
package The directory under will vary according to the configuration , Most of them are openwrt Some application toolkits for , such as utils Is a tool set ,ls,ssh The source code of such tools are in this directory - target
target The directory mainly contains the code related to the platform , The main thing is linux Folder . Here's the picture :
You can see that each platform corresponds to a folder , adopt "make menuconfig" This folder corresponds to the platform and chip selection :
You can see that there are a variety of chip models , Of these image It will be called when the firmware is finally generated , Here you can customize some of our firmware ,patches There are patches .base-files Directory and linux The directory corresponds to , Many places have this folder . - tool
Toolset
- include

Top common Makefile, Other Makefile Contains Makefile Can be found here . - scripts
Scripting tools
Two : kernel patch
3、 ... and : File system automatically built-in files
边栏推荐
猜你喜欢
随机推荐
[pytoch] calculate the derivative of sin (x) by automatic differentiation
不归零编码NRZ
ApiPost接口测试的用法之------Post
win10查看my.ini路径
OpenJudge NOI 1.13 50:数根
Precautions for running high-frequency and high-speed signal lines near PCB board - basic principles for high-frequency and high-speed signal design
2022 simulated examination question bank and answers for safety management personnel of metal and nonmetal mines (open pit mines)
mysql json
Laravel customizes the paging style through the service provider
Static two position relay gls-3004k/dc220v
开关磁阻电机悬浮驱动IR2128小结
Chrome调试技巧
Please use the NLTK Downloader to obtain the resource
欢迎使用CSDN-markdown编辑器
Laravel中使用 Editor.md 上传图片如何处理?
五年连续亏损42亿,蘑菇如何渡劫?
#18生成器函数的参数传递
PCB placing components at any angle and distance
【论文阅读】Semi-Supervised Learning with Ladder Networks
[binary tree] completeness test of binary tree



![[pytoch] calculate the derivative of sin (x) by automatic differentiation](/img/a7/16dd9ecc13a986a9141ecc3fba00a1.png)





