linuxOS_D21X/doc/topics/sdk/advanced/lb_usage_structure.html
2025-01-23 16:35:08 +08:00

334 lines
30 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml" xml:lang="zh-cn" lang="zh-cn" data-whc_version="27.0">
<head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/><meta name="viewport" content="width=device-width, initial-scale=1.0"/><meta http-equiv="X-UA-Compatible" content="IE=edge"/><meta name="DC.rights.owner" content="(C) 版权 2025"/><meta name="copyright" content="(C) 版权 2025"/><meta name="generator" content="DITA-OT"/><meta name="DC.type" content="concept"/><meta name="description" content="图 1 . Luban SDK 根目录 Luban SDK 中有以下重要的文件和目录,其分类和功能如下所述。 Luban ├── dl --&gt; 第三方源码的压缩包保存目录 ├── output --&gt; 默认的编译输出目录 ├── package --&gt; 各编译源码包/组件的配置 │ ├── Config.in --&gt; menuconfig 配置的顶层入口 │ ├── artinchip --&gt; ..."/><meta name="DC.relation" content="../../../topics/sdk/env/sourcecode.html"/><meta name="DC.relation" content="../../../topics/sdk/env/sourcecode.html"/><meta name="DC.relation" content="../../../topics/sdk/env/ubuntu2004.html"/><meta name="DC.relation" content="configure-precompilation-package.html"/><meta name="DC.relation" content="pre-compilation-package.html"/><meta name="DC.contributor" content="yan.wang"/><meta name="DC.creator" content="yan.wang"/><meta name="DC.date.modified" content="2024-01-15"/><meta name="DC.format" content="HTML5"/><meta name="DC.identifier" content="lb-usage-structure"/><meta name="DC.language" content="zh-CN"/>
<title>代码结构</title><!-- Generated with build number 2024112209. --><meta name="wh-path2root" content="../../../"/><meta name="wh-toc-id" content="lb-usage-structure-d4445e1127"/><meta name="wh-source-relpath" content="topics/sdk/advanced/lb_usage_structure.dita"/><meta name="wh-out-relpath" content="topics/sdk/advanced/lb_usage_structure.html"/>
<link rel="stylesheet" type="text/css" href="../../../webhelp/app/commons.css?buildId=2024112209"/>
<link rel="stylesheet" type="text/css" href="../../../webhelp/app/topic.css?buildId=2024112209"/>
<script src="../../../webhelp/app/options/properties.js?buildId=20250123154945"></script>
<script src="../../../webhelp/app/localization/strings.js?buildId=2024112209"></script>
<script src="../../../webhelp/app/search/index/keywords.js?buildId=20250123154945"></script>
<script defer="defer" src="../../../webhelp/app/commons.js?buildId=2024112209"></script>
<script defer="defer" src="../../../webhelp/app/topic.js?buildId=2024112209"></script>
<link rel="stylesheet" type="text/css" href="../../../webhelp/template/aic-styles-web.css?buildId=2024112209"/><link rel="stylesheet" type="text/css" href="../../../webhelp/template/notes.css?buildId=2024112209"/><link rel="stylesheet" type="text/css" href="../../../webhelp/template/aic-common.css?buildId=2024112209"/><link rel="stylesheet" type="text/css" href="../../../webhelp/template/aic-images.css?buildId=2024112209"/><link rel="stylesheet" type="text/css" href="../../../webhelp/template/footnote.css?buildId=2024112209"/><link rel="stylesheet" type="text/css" href="../../../webhelp/template/aic-web-watermark.css?buildId=2024112209"/><link rel="stylesheet" type="text/css" href="../../../webhelp/template/topic-body-list.css?buildId=2024112209"/></head>
<body id="lb-usage-structure" class="wh_topic_page frmBody">
<a href="#wh_topic_body" class="sr-only sr-only-focusable">
跳转到主要内容
</a>
<header class="navbar navbar-default wh_header">
<div class="container-fluid">
<div class="wh_header_flex_container navbar-nav navbar-expand-md navbar-dark">
<div class="wh_logo_and_publication_title_container">
<div class="wh_logo_and_publication_title">
<a href="http://www.artinchip.com" class=" wh_logo d-none d-sm-block "><img src="../../../company-logo-white.png" alt=" Linux SDK 使用指南 SDK 指南文件 "/></a>
<div class=" wh_publication_title "><a href="../../../index.html"><span class="booktitle"> <span class="ph mainbooktitle">Linux SDK 使用指南</span> <span class="ph booktitlealt">SDK 指南文件</span> </span></a></div>
</div>
</div>
<div class="wh_top_menu_and_indexterms_link collapse navbar-collapse" id="wh_top_menu_and_indexterms_link">
</div>
</div>
</div>
</header>
<div class=" wh_search_input navbar-form wh_topic_page_search search " role="form">
<form id="searchForm" method="get" role="search" action="../../../search.html"><div><input type="search" placeholder="搜索 " class="wh_search_textfield" id="textToSearch" name="searchQuery" aria-label="搜索查询" required="required"/><button type="submit" class="wh_search_button" aria-label="搜索"><span class="search_input_text">搜索</span></button></div></form>
</div>
<div class="container-fluid" id="wh_topic_container">
<div class="row">
<nav class="wh_tools d-print-none navbar-expand-md" aria-label="Tools">
<div data-tooltip-position="bottom" class=" wh_breadcrumb "><ol class="d-print-none"><li><span class="home"><a href="../../../index.html"><span>主页</span></a></span></li><li><div class="topicref" data-id="id"><div class="title"><a href="../../../topics/sdk/env/sdk-compile.html">SDK 编译</a><div class="wh-tooltip"><p class="shortdesc">介绍不同编译环境下 SDK 的详细编译流程。</p></div></div></div></li><li><div class="topicref" data-id="id"><div class="title"><a href="../../../topics/sdk/env/sourcecode.html">准备代码</a></div></div></li><li class="active"><div class="topicref" data-id="lb-usage-structure"><div class="title"><a href="../../../topics/sdk/advanced/lb_usage_structure.html">代码结构</a><div class="wh-tooltip"><p class="shortdesc"></p></div></div></div></li></ol></div>
<div class="wh_right_tools">
<button class="wh_hide_highlight" aria-label="切换搜索突出显示" title="切换搜索突出显示"></button>
<button class="webhelp_expand_collapse_sections" data-next-state="collapsed" aria-label="折叠截面" title="折叠截面"></button>
<div class=" wh_navigation_links "><span id="topic_navigation_links" class="navheader">
<span class="navprev"><a class="- topic/link link" href="../../../topics/sdk/env/sourcecode.html" title="准备代码" aria-label="上一主题: 准备代码" rel="prev"></a></span>
<span class="navnext"><a class="- topic/link link" href="../../../topics/sdk/env/ubuntu2004.html" title="Ubuntu" aria-label="下一主题: Ubuntu" rel="next"></a></span> </span></div>
<div class=" wh_print_link print d-none d-md-inline-block "><button onClick="window.print()" title="打印此页" aria-label="打印此页"></button></div>
<button type="button" id="wh_toc_button" class="custom-toggler navbar-toggler collapsed wh_toggle_button navbar-light" aria-expanded="false" aria-label="Toggle publishing table of content" aria-controls="wh_publication_toc">
<span class="navbar-toggler-icon"></span>
</button>
</div>
</nav>
</div>
<div class="wh_content_area">
<div class="row">
<nav id="wh_publication_toc" class="col-lg-3 col-md-3 col-sm-12 d-md-block d-none d-print-none" aria-label="Table of Contents Container">
<div id="wh_publication_toc_content">
<div class=" wh_publication_toc " data-tooltip-position="right"><span class="expand-button-action-labels"><span id="button-expand-action" role="button" aria-label="Expand"></span><span id="button-collapse-action" role="button" aria-label="Collapse"></span><span id="button-pending-action" role="button" aria-label="Pending"></span></span><ul role="tree" aria-label="Table of Contents"><li role="treeitem"><div data-tocid="revinfo_linux-d4445e1079" class="topicref" data-id="revinfo_linux" data-state="leaf"><span role="button" class="wh-expand-btn"></span><div class="title"><a href="../../../topics/revinfo/revinfo_linux.html" id="revinfo_linux-d4445e1079-link">修订记录</a></div></div></li><li role="treeitem" aria-expanded="true"><div data-tocid="id-d4445e1096" class="topicref" data-id="id" data-state="expanded"><span role="button" tabindex="0" aria-labelledby="button-collapse-action id-d4445e1096-link" class="wh-expand-btn"></span><div class="title"><a href="../../../topics/sdk/env/sdk-compile.html" id="id-d4445e1096-link">SDK 编译</a><div class="wh-tooltip"><p class="shortdesc">介绍不同编译环境下 SDK 的详细编译流程。</p></div></div></div><ul role="group" class="navbar-nav nav-list"><li role="treeitem" aria-expanded="true"><div data-tocid="id-d4445e1113" class="topicref" data-id="id" data-state="expanded"><span role="button" tabindex="0" aria-labelledby="button-collapse-action id-d4445e1113-link" class="wh-expand-btn"></span><div class="title"><a href="../../../topics/sdk/env/sourcecode.html" id="id-d4445e1113-link">准备代码</a></div></div><ul role="group" class="navbar-nav nav-list"><li role="treeitem" class="active"><div data-tocid="lb-usage-structure-d4445e1127" class="topicref" data-id="lb-usage-structure" data-state="leaf"><span role="button" class="wh-expand-btn"></span><div class="title"><a href="../../../topics/sdk/advanced/lb_usage_structure.html" id="lb-usage-structure-d4445e1127-link">代码结构</a><div class="wh-tooltip"><p class="shortdesc"></p></div></div></div></li></ul></li><li role="treeitem"><div data-tocid="id-d4445e1143" class="topicref" data-id="id" data-state="leaf"><span role="button" class="wh-expand-btn"></span><div class="title"><a href="../../../topics/sdk/env/ubuntu2004.html" id="id-d4445e1143-link">Ubuntu</a></div></div></li><li role="treeitem" aria-expanded="false"><div data-tocid="id-d4445e1157" class="topicref" data-id="id" data-state="not-ready"><span role="button" tabindex="0" aria-labelledby="button-expand-action id-d4445e1157-link" class="wh-expand-btn"></span><div class="title"><a href="../../../topics/sdk/env/vmware.html" id="id-d4445e1157-link">VMWare 安装</a><div class="wh-tooltip"><p class="shortdesc">如需在虚拟机上进行 <span class="ph">Luban</span> 的开发工作,可以参考本节的安装说明。</p></div></div></div></li><li role="treeitem"><div data-tocid="compile-d4445e1225" class="topicref" data-id="compile" data-state="leaf"><span role="button" class="wh-expand-btn"></span><div class="title"><a href="../../../topics/sdk/env/compile.html" id="compile-d4445e1225-link">固件编译</a></div></div></li></ul></li><li role="treeitem" aria-expanded="false"><div data-tocid="tocId-d4445e1240" class="topicref" data-state="not-ready"><span role="button" tabindex="0" aria-labelledby="button-expand-action tocId-d4445e1240-link" class="wh-expand-btn"></span><div class="title"><a href="../../../topics/sdk/advanced/lb_usage_commands.html" id="tocId-d4445e1240-link">使用指南</a></div></div></li><li role="treeitem" aria-expanded="false"><div data-tocid="concept_rcx_czh_pzb-d4445e1360" class="topicref" data-id="concept_rcx_czh_pzb" data-state="not-ready"><span role="button" tabindex="0" aria-labelledby="button-expand-action concept_rcx_czh_pzb-d4445e1360-link" class="wh-expand-btn"></span><div class="title"><a href="../../../topics/sdk/chapter-app.html" id="concept_rcx_czh_pzb-d4445e1360-link">应用场景</a><div class="wh-tooltip"><p class="shortdesc">描述了 SDK 在不同应用场景中的配置和使用包括系统更新、OTA、安全方案等。</p></div></div></div></li><li role="treeitem" aria-expanded="false"><div data-tocid="id-d4445e1678" class="topicref" data-id="id" data-state="not-ready"><span role="button" tabindex="0" aria-labelledby="button-expand-action id-d4445e1678-link" class="wh-expand-btn"></span><div class="title"><a href="../../../topics/sdk/peripheral/peripheral-intro.html" id="id-d4445e1678-link">外设移植</a><div class="wh-tooltip"><p class="shortdesc"><span class="ph">触摸屏、显示器、WIFI 模块、按键</span>等外设的介绍和使用说明。</p></div></div></div></li><li role="treeitem" aria-expanded="false"><div data-tocid="id-d4445e1964" class="topicref" data-id="id" data-state="not-ready"><span role="button" tabindex="0" aria-labelledby="button-expand-action id-d4445e1964-link" class="wh-expand-btn"></span><div class="title"><a href="../../../topics/sdk/bringup/chapter-bringup.html" id="id-d4445e1964-link">BringUp</a><div class="wh-tooltip"><p class="shortdesc">在硬件上电后快速初始化系统,为操作系统的启动准备好必要的硬件环境。</p></div></div></div></li><li role="treeitem" aria-expanded="false"><div data-tocid="id-d4445e2153" class="topicref" data-id="id" data-state="not-ready"><span role="button" tabindex="0" aria-labelledby="button-expand-action id-d4445e2153-link" class="wh-expand-btn"></span><div class="title"><a href="../../../topics/sdk/chapter-advanced-app.html" id="id-d4445e2153-link">高级应用</a><div class="wh-tooltip"><p class="shortdesc">系统、存储、多媒体、接口、安全等模块的详细配置和设计说明。</p></div></div></div></li></ul></div>
</div>
</nav>
<div class="col-lg-7 col-md-9 col-sm-12" id="wh_topic_body">
<button id="wh_close_publication_toc_button" class="close-toc-button d-none" aria-label="Toggle publishing table of content" aria-controls="wh_publication_toc" aria-expanded="true">
<span class="close-toc-icon-container">
<span class="close-toc-icon"></span>
</span>
</button>
<button id="wh_close_topic_toc_button" class="close-toc-button d-none" aria-label="Toggle topic table of content" aria-controls="wh_topic_toc" aria-expanded="true">
<span class="close-toc-icon-container">
<span class="close-toc-icon"></span>
</span>
</button>
<div class=" wh_topic_content body "><main role="main"><article class="- topic/topic concept/concept topic concept" role="article" aria-labelledby="ariaid-title1">
<span class="edit-link" style="font-size:12px; opacity:0.6; text-align:right; vertical-align:middle"><a target="_blank" title="Edit this document" href="http://172.16.35.88/tasks/jdssno1uvvbf2mltu9kb9v3if05d5gopuakboe8hlud18rma/edit/F:/aicdita/aicdita-cn/topics/sdk/advanced/lb_usage_structure.dita">Edit online</a></span><h1 class="- topic/title title topictitle1" id="ariaid-title1">代码结构</h1>
<div class="date inPage">15 Jan 2024</div><div style="color: gray;">
Read time: 4 minute(s)
</div>
<div class="- topic/body concept/conbody body conbody"><p class="- topic/shortdesc shortdesc"></p>
<div class="- topic/p p" data-ofbid="d98675e30__20250123155207">
<figure class="- topic/fig fig fignone" id="lb-usage-structure__fig_z23_cq3_pzb" data-ofbid="lb-usage-structure__fig_z23_cq3_pzb">
<br/><div class="imagecenter"><img class="- topic/image image imagecenter" id="lb-usage-structure__image_x5s_ltg_bzb" src="../../../images/sdk/sdk_overview.png"/></div><br/>
<figcaption data-caption-side="bottom" class="- topic/title title figcapcenter"><span class="figtitleprefix fig--title-label"><span class="fig--title-label-number"> 1</span><span class="fig--title-label-punctuation">. </span></span><span class="fig--title">Luban SDK 根目录</span></figcaption></figure>
</div>
<p class="- topic/p p" data-ofbid="d98675e41__20250123155207">Luban SDK 中有以下重要的文件和目录,其分类和功能如下所述。</p>
<pre class="+ topic/pre pr-d/codeblock pre codeblock language-c" id="lb-usage-structure__pre_y5s_ltg_bzb" data-ofbid="lb-usage-structure__pre_y5s_ltg_bzb"><code>Luban
├── dl --&gt; 第三方源码的压缩包保存目录
├── output --&gt; 默认的编译输出目录
├── package --&gt; 各编译源码包/组件的配置
│ ├── Config.in --&gt; menuconfig 配置的顶层入口
│ ├── artinchip --&gt; ArtInChip 开发的组件配置
│ ├── linux --&gt; 内核的配置
│ ├── opensbi --&gt; OpenSBI 的配置
│ ├── uboot --&gt; UBoot 的配置
│ ├── third-party --&gt; 其他开源软件包的配置
│ ├── ...
├── prebuilt --&gt; 预编译二进制包的保存目录
├── source --&gt; 源码保存目录
│ ├── artinchip --&gt; ArtInChip 开发的组件源码目录(不会删除)
│ ├── linux-<span class="hl-number">5.10</span> --&gt; 内核的源码目录(不会删除)
│ ├── opensbi --&gt; OpenSBI 的源码目录(不会删除)
│ ├── uboot-<span class="hl-number">2021.10</span> --&gt; U-Boot 的源码目录(不会删除)
│ └── third-party --&gt; 其他开源软件包解压后的源码目录make distclean 会删除)
├── target --&gt; 芯片和具体板子的配置
│ └── configs --&gt; 存放项目的配置文件
│ ├── d211_initramfs_defconfig
│ ├── d211_per1_mmc_defconfig
│ ├── d211_per2_spinand_defconfig
│ ├── d211_per2_spinor_defconfig
│ ├── d211_fpga_mmc_defconfig
│ ├── configs_busybox -&gt; ../../package/third-party/busybox/configs/
│ ├── configs_linux_arm -&gt; ../../source/linux-<span class="hl-number">5.10</span>/arch/arm/configs/
│ └── configs_uboot -&gt; ../../source/uboot-<span class="hl-number">2021.10</span>/configs/
├── tools --&gt; 辅助脚本和工具
│── toolchain --&gt; 编译所使用的 gcc 工具链保存目录
└── Makefile --&gt; SDK 的顶层 Makefile</code></pre>
<section class="- topic/section section" id="lb-usage-structure__section_vcd_wcp_fdc" data-ofbid="lb-usage-structure__section_vcd_wcp_fdc"><h2 class="- topic/title title sectiontitle">三方代码目录</h2>
<p class="- topic/p p" data-ofbid="d98675e52__20250123155207">在 SDK 代码目录中,<span class="+ topic/ph sw-d/filepath ph filepath">third-party</span><span class="+ topic/ph sw-d/filepath ph filepath">dl</span>
<span class="+ topic/ph sw-d/filepath ph filepath">prebuilt</span>
为三方目录,分别用于存放第三方库、下载工具和预编译二进制包。使用不同的源码编译方式,三者的使用顺序和流程也不相同,详情如下所示:</p>
<ul class="- topic/ul ul" id="lb-usage-structure__ul_yqy_vcp_fdc" data-ofbid="lb-usage-structure__ul_yqy_vcp_fdc">
<li class="- topic/li li" data-ofbid="d98675e70__20250123155207">
<div class="- topic/p p" data-ofbid="d98675e72__20250123155207">如果使用预编译二进制包:<ol class="- topic/ol ol" id="lb-usage-structure__ol_kps_4xs_hdc" data-ofbid="lb-usage-structure__ol_kps_4xs_hdc">
<li class="- topic/li li" data-ofbid="d98675e76__20250123155207">
<p class="- topic/p p" data-ofbid="d98675e78__20250123155207"><code class="+ topic/ph pr-d/codeph ph codeph">extract</code>:从 <span class="+ topic/ph sw-d/filepath ph filepath">prebuilt</span>
目录中提取预编译的二进制包。</p>
</li>
<li class="- topic/li li" data-ofbid="d98675e87__20250123155207"><code class="+ topic/ph pr-d/codeph ph codeph">output/build</code>:将提取出来的文件放置在构建输出目录中。</li>
<li class="- topic/li li" data-ofbid="d98675e92__20250123155207"><code class="+ topic/ph pr-d/codeph ph codeph">install</code>:将构建输出目录中的文件安装到目标系统 (target) 或主机系统
(host)。</li>
<li class="- topic/li li" data-ofbid="d98675e97__20250123155207"><code class="+ topic/ph pr-d/codeph ph codeph">output/target (or
host)</code>:最终的目标系统或主机系统上安装了预编译的二进制包。</li>
</ol></div>
<div class="- topic/p p" data-ofbid="d98675e103__20250123155207">
<pre class="+ topic/pre pr-d/codeblock pre codeblock language-c" id="lb-usage-structure__codeblock_hzr_rxs_hdc" data-ofbid="lb-usage-structure__codeblock_hzr_rxs_hdc"><code><span class="+ topic/ph sw-d/filepath ph filepath">prebuilt</span> (extract) → <code class="+ topic/ph pr-d/codeph ph codeph">output/build</code> (install) → <code class="+ topic/ph pr-d/codeph ph codeph">output/target(or host)</code></code></pre>
</div>
</li>
<li class="- topic/li li" data-ofbid="d98675e117__20250123155207">
<div class="- topic/p p" data-ofbid="d98675e119__20250123155207">如果使用源码编译:<ol class="- topic/ol ol" id="lb-usage-structure__ol_qpp_wxs_hdc" data-ofbid="lb-usage-structure__ol_qpp_wxs_hdc">
<li class="- topic/li li" data-ofbid="d98675e123__20250123155207"><code class="+ topic/ph pr-d/codeph ph codeph">extract</code>:从 <span class="+ topic/ph sw-d/filepath ph filepath">dl</span>
目录中提取第三方库的源码。</li>
<li class="- topic/li li" data-ofbid="d98675e131__20250123155207"><code class="+ topic/ph pr-d/codeph ph codeph">source/third-party</code>:将提取出来的源码放置在源代码目录中。</li>
<li class="- topic/li li" data-ofbid="d98675e136__20250123155207"><code class="+ topic/ph pr-d/codeph ph codeph">build</code>:对 <span class="+ topic/ph sw-d/filepath ph filepath">source/third-party</span>
目录中的源码进行编译。</li>
<li class="- topic/li li" data-ofbid="d98675e144__20250123155207"><code class="+ topic/ph pr-d/codeph ph codeph">output/build</code>:将编译生成的文件放置在构建输出目录中。</li>
<li class="- topic/li li" data-ofbid="d98675e149__20250123155207"><code class="+ topic/ph pr-d/codeph ph codeph">install</code>:将构建输出目录中的文件安装到目标系统 (target) 或主机系统
(host)。</li>
<li class="- topic/li li" data-ofbid="d98675e155__20250123155207"><code class="+ topic/ph pr-d/codeph ph codeph">output/target (or
host)</code>:最终的目标系统或主机系统上安装了编译后的二进制包。</li>
</ol></div>
<div class="- topic/p p" data-ofbid="d98675e161__20250123155207">
<pre class="+ topic/pre pr-d/codeblock pre codeblock language-c" id="lb-usage-structure__codeblock_sjm_zxs_hdc" data-ofbid="lb-usage-structure__codeblock_sjm_zxs_hdc"><code><span class="+ topic/ph sw-d/filepath ph filepath">dl</span> (extract) → <code class="+ topic/ph pr-d/codeph ph codeph">source/thrid-party</code> (build) → <span class="+ topic/ph sw-d/filepath ph filepath">output/build</span> (install) → <code class="+ topic/ph pr-d/codeph ph codeph">output/target(or host)</code></code></pre>
</div>
</li>
</ul>
</section>
<section class="- topic/section section" id="lb-usage-structure__section_zdg_1dp_fdc" data-ofbid="lb-usage-structure__section_zdg_1dp_fdc"><h2 class="- topic/title title sectiontitle">输出目录</h2>
<div class="- topic/p p" data-ofbid="d98675e185__20250123155207">
<pre class="+ topic/pre pr-d/codeblock pre codeblock language-c" id="lb-usage-structure__codeblock_qhp_1dp_fdc" data-ofbid="lb-usage-structure__codeblock_qhp_1dp_fdc"><code>output/
├── build --&gt; 编译的工作目录
│   ├── busybox-<span class="hl-number">1.34</span>.<span class="hl-number">1</span>
│   ├── ...
├── host --&gt; 主机工具的安装目录
│   ├── arm-linux-gnueabihf/sysroot
│   ├── bin
│   ├── etc
│   ├── include
│   ├── lib
│   ├── lib64 -&gt; lib
│   ├── opt
│   ├── sbin
│   ├── share
│   └── usr -&gt; .
├── images --&gt; 最终的镜像文件输出目录
│   ├── d211_per1_v1.<span class="hl-number">0.0</span>.img
│   ├── ...
├── staging -&gt; host/arm-linux-gnueabihf/sysroot --&gt; 交叉编译的暂存目录:库与头文件
│   ├── lib --&gt; 导出的库,给其他包编译链接使用
│   ├── usr
│   │ ├── include --&gt; 内核导出的头文件、其他包导出的头文件
├── target --&gt; 打包到 RootFS 中的内容存放目录
│   ├── bin
│   ├── dev
│   ├── etc
│   ├── init
│   ├── lib
│   ├── lib32 -&gt; lib
│   ├── linuxrc -&gt; bin/busybox
│   ├── media
│   ├── mnt
│   ├── opt
│   ├── proc
│   ├── root
│   ├── run
│   ├── sbin
│   ├── sys
│   ├── THIS_IS_NOT_YOUR_ROOT_FILESYSTEM --&gt; 当前目录不是最终执行 RootFS 打包的目录
│   ├── tmp 生成 RootFS 前target 目录的内容会被拷贝
│   ├── usr 到 output/luban-fs/ 目录下执行打包
│   └── var
└── userfs --&gt; 自定义的文件系统目录</code></pre>
</div>
</section>
</div>
</article></main></div>
<div class=" wh_related_links d-print-none "><nav aria-label="Related Links" role="navigation" class="- topic/related-links related-links"><div class="- topic/linklist linklist relinfo" xml:lang="zh-CN" lang="zh-CN"><strong>相关信息</strong><ul class="linklist related_link"><li class="linklist"><a class="- topic/link link navheader_parent_path" href="configure-precompilation-package.html" title="配置预编译包">配置预编译包</a></li><li class="linklist"><a class="- topic/link link navheader_parent_path" href="pre-compilation-package.html" title="预编译包优势">预编译包优势</a></li></ul></div></nav></div>
</div>
<nav role="navigation" id="wh_topic_toc" aria-label="On this page" class="col-lg-2 d-none d-lg-block navbar d-print-none">
<div id="wh_topic_toc_content">
<div class=" wh_topic_toc "><div class="wh_topic_label">在本页上</div><ul><li class="section-item"><div class="section-title"><a href="#lb-usage-structure__section_vcd_wcp_fdc" data-tocid="lb-usage-structure__section_vcd_wcp_fdc">三方代码目录</a></div></li><li class="section-item"><div class="section-title"><a href="#lb-usage-structure__section_zdg_1dp_fdc" data-tocid="lb-usage-structure__section_zdg_1dp_fdc">输出目录</a></div></li></ul></div>
</div>
</nav>
</div>
</div>
</div>
<footer class="navbar navbar-default wh_footer">
<div class=" footer-container mx-auto ">
<title>footer def</title>
<style><!--
.p1 {
font-family: FangZhengShuSong, Times, serif;
}
.p2 {
font-family: Arial, Helvetica, sans-serif;
}
.p3 {
font-family: "Lucida Console", "Courier New", monospace;
}
--></style>
<div class="webhelp.fragment.footer">
<p class="p1">Copyright © 2019-2024 广东匠芯创科技有限公司. All rights reserved.</p>
</div><div>
<div class="generation_time">
Update Time: 2025-01-23
</div>
</div>
</div>
</footer>
<button id="go2top" class="d-print-none" title="返回顶部">
<span class="oxy-icon oxy-icon-up"></span>
</button>
<div id="modal_img_large" class="modal">
<span class="close oxy-icon oxy-icon-remove"></span>
<div id="modal_img_container"></div>
<div id="caption"></div>
</div>
<script src="${pd}/publishing/publishing-styles-AIC-template/js/custom.js" defer="defer"></script>
</body>
</html>