2025-09-30 11:56:06 +08:00
<!DOCTYPE html> < html xmlns = "http://www.w3.org/1999/xhtml" xml:lang = "zh-cn" lang = "zh-cn" data-whc_version = "26.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 = "description" content = "make 是一个自动化构建工具,通过读取 Makefile 文件中的 指令来自动完成项目的编译、链接等构建任务。 警告: 在 make 命令中使用 -j 参数。Luban 在编译的过程中,默认使用了 -j0 参数,即根据系统的 CPU 核心数量,动态分配编译的线程。如果外部再提供 -j 参数,会导致 SDK 编译过程中出现一些高层次的目标编译 不同步的错误。 表 1 . make ..." / > < 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 = "DC.relation" content = "burn-image-add-dev-board.html" / > < meta name = "DC.relation" content = "lb-delete-dev-board.html" / > < meta name = "DC.relation" content = "lb_usage_add_new_package.html" / > < meta name = "DC.relation" content = "configure-precompilation-package.html" / > < meta name = "DC.contributor" content = "yan.wang" / > < meta name = "DC.creator" content = "yan.wang" / > < meta name = "DC.date.created" content = "2024-12-13" / > < meta name = "DC.date.modified" content = "2024-12-27" / > < meta name = "DC.format" content = "HTML5" / > < meta name = "DC.identifier" content = "concept_xy2_4kj_sdc" / > < title > make 命令参考指南< / title > <!-- Build number 2023110923. --> < meta name = "wh-path2root" content = "../../../" / > < meta name = "wh-toc-id" content = "" / > < meta name = "wh-source-relpath" content = "topics/sdk/advanced/make_commands.dita" / > < meta name = "wh-out-relpath" content = "topics/sdk/advanced/make_commands.html" / >
< link rel = "stylesheet" type = "text/css" href = "../../../webhelp/app/commons.css?buildId=2023110923" / >
< link rel = "stylesheet" type = "text/css" href = "../../../webhelp/app/topic.css?buildId=2023110923" / >
< script src = "../../../webhelp/app/options/properties.js?buildId=20250121171154" > < / script >
< script src = "../../../webhelp/app/localization/strings.js?buildId=2023110923" > < / script >
< script src = "../../../webhelp/app/search/index/keywords.js?buildId=20250121171154" > < / script >
< script defer = "defer" src = "../../../webhelp/app/commons.js?buildId=2023110923" > < / script >
< script defer = "defer" src = "../../../webhelp/app/topic.js?buildId=2023110923" > < / script >
< link rel = "stylesheet" type = "text/css" href = "../../../webhelp/template/aic-styles-web.css?buildId=2023110923" / > < link rel = "stylesheet" type = "text/css" href = "../../../webhelp/template/notes.css?buildId=2023110923" / > < link rel = "stylesheet" type = "text/css" href = "../../../webhelp/template/aic-common.css?buildId=2023110923" / > < link rel = "stylesheet" type = "text/css" href = "../../../webhelp/template/aic-images.css?buildId=2023110923" / > < link rel = "stylesheet" type = "text/css" href = "../../../webhelp/template/footnote.css?buildId=2023110923" / > < link rel = "stylesheet" type = "text/css" href = "../../../webhelp/template/aic-web-watermark.css?buildId=2023110923" / > < link rel = "stylesheet" type = "text/css" href = "../../../webhelp/template/topic-body-list.css?buildId=2023110923" / > < / head >
< body id = "concept_xy2_4kj_sdc" 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 = "RTOS SDK 使用指南SDK 指南文件" / > < / a >
< div class = " wh_publication_title " > < a href = "../../../index.html" > < span class = "booktitle" > < span class = "ph mainbooktitle" > RTOS 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 " > < / 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_print_link print d-none d-md-inline-block " > < button onClick = "window.print()" title = "打印此页" aria-label = "打印此页" > < / button > < / div >
< / div >
< / nav >
< / div >
< div class = "wh_content_area" >
< div class = "row" >
< div class = "col-lg-10 col-md-10 col-sm-10 col-xs-12" id = "wh_topic_body" >
< 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" href = "http://172.16.35.88/tasks/jdssno1uvvbf2mltu9kb9v3if05d5gopuakboe8hlud18rma/edit/F:/aicdita/aicdita-cn/topics/sdk/advanced/make_commands.dita" > Edit online< / a > < / span > < h1 class = "- topic/title title topictitle1" id = "ariaid-title1" > make 命令参考指南< / h1 > < div class = "date inPage" > 27 Dec 2024< / div > < div style = "color: gray;" >
Read time: 2 minute(s)
< / div > < div class = "- topic/body concept/conbody body conbody" > < div class = "- topic/p p" data-ofbid = "d349077e25__20250121172125" > make 是一个自动化构建工具,通过读取 Makefile 文件中的 指令来自动完成项目的编译、链接等构建任务。< div class = "- topic/note note warning note_warning" id = "concept_xy2_4kj_sdc__note_sjd_hqp_5dc" data-ofbid = "concept_xy2_4kj_sdc__note_sjd_hqp_5dc" > < span class = "note__title" > 警告:< / span > 在 make 命令中使用 < strong class = "+ topic/ph hi-d/b ph b" > -j< / strong > 参数。Luban 在编译的过程中,默认使用了 < strong class = "+ topic/ph hi-d/b ph b" > -j0< / strong > 参数,即根据系统的
CPU 核心数量,动态分配编译的线程。如果外部再提供 < strong class = "+ topic/ph hi-d/b ph b" > -j< / strong > 参数,会导致 SDK 编译过程中出现一些高层次的目标编译 不同步的错误。< / div > < / div > < div class = "- topic/div div" >
< div class = "table-container" > < table class = "- topic/table table frame-all" id = "concept_xy2_4kj_sdc__lb-usage-commands_table_xnn_gjh_rdc" data-ofbid = "concept_xy2_4kj_sdc__lb-usage-commands_table_xnn_gjh_rdc" data-cols = "3" > < caption class = "- topic/title title tablecap" data-caption-side = "top" data-is-repeated = "true" > < span class = "table--title-label" > 表< span class = "table--title-label-number" > 1< / span > < span class = "table--title-label-punctuation" > . < / span > < / span > < span class = "table--title" > make 常用命令及功能描述< / span > < / caption > < colgroup > < col / > < col / > < col / > < / colgroup > < thead class = "- topic/thead thead" > < tr class = "- topic/row" > < th class = "- topic/entry entry colsep-1 rowsep-1" id = "concept_xy2_4kj_sdc__lb-usage-commands_table_xnn_gjh_rdc__entry__1" > 功能< / th > < th class = "- topic/entry entry colsep-1 rowsep-1" id = "concept_xy2_4kj_sdc__lb-usage-commands_table_xnn_gjh_rdc__entry__2" > 命令< / th > < th class = "- topic/entry entry colsep-0 rowsep-1" id = "concept_xy2_4kj_sdc__lb-usage-commands_table_xnn_gjh_rdc__entry__3" > < a class = "- topic/xref xref" href = "onestep_command_ref.html" > OneStep
简洁命令< / a > < / th > < / tr > < / thead > < tbody class = "- topic/tbody tbody" > < tr class = "- topic/row" > < td class = "- topic/entry entry colsep-1 rowsep-1" headers = "concept_xy2_4kj_sdc__lb-usage-commands_table_xnn_gjh_rdc__entry__1" > 列出当前可用的 < span class = "+ topic/ph sw-d/filepath ph filepath" > < var class = "+ topic/keyword sw-d/varname keyword varname" > board< / var > _defconfig< / span >
项目配置文件< / td > < td class = "- topic/entry entry colsep-1 rowsep-1" headers = "concept_xy2_4kj_sdc__lb-usage-commands_table_xnn_gjh_rdc__entry__2" > < / td > < td class = "- topic/entry entry colsep-0 rowsep-1" headers = "concept_xy2_4kj_sdc__lb-usage-commands_table_xnn_gjh_rdc__entry__3" > make l< / td > < / tr > < tr class = "- topic/row" > < td class = "- topic/entry entry colsep-1 rowsep-1" headers = "concept_xy2_4kj_sdc__lb-usage-commands_table_xnn_gjh_rdc__entry__1" > 应用指定的项目配置< / td > < td class = "- topic/entry entry colsep-1 rowsep-1" headers = "concept_xy2_4kj_sdc__lb-usage-commands_table_xnn_gjh_rdc__entry__2" > < / td > < td class = "- topic/entry entry colsep-0 rowsep-1" headers = "concept_xy2_4kj_sdc__lb-usage-commands_table_xnn_gjh_rdc__entry__3" > -< / td > < / tr > < tr class = "- topic/row" > < td class = "- topic/entry entry colsep-1 rowsep-1" headers = "concept_xy2_4kj_sdc__lb-usage-commands_table_xnn_gjh_rdc__entry__1" > 编译整个项目< / td > < td class = "- topic/entry entry colsep-1 rowsep-1" headers = "concept_xy2_4kj_sdc__lb-usage-commands_table_xnn_gjh_rdc__entry__2" > < / td > < td class = "- topic/entry entry colsep-0 rowsep-1" headers = "concept_xy2_4kj_sdc__lb-usage-commands_table_xnn_gjh_rdc__entry__3" > make f< / td > < / tr > < tr class = "- topic/row" > < td class = "- topic/entry entry colsep-1 rowsep-1" headers = "concept_xy2_4kj_sdc__lb-usage-commands_table_xnn_gjh_rdc__entry__1" > 增量编译< / td > < td class = "- topic/entry entry colsep-1 rowsep-1" headers = "concept_xy2_4kj_sdc__lb-usage-commands_table_xnn_gjh_rdc__entry__2" > < / td > < td class = "- topic/entry entry colsep-0 rowsep-1" headers = "concept_xy2_4kj_sdc__lb-usage-commands_table_xnn_gjh_rdc__entry__3" > -< / td > < / tr > < tr class = "- topic/row" > < td class = "- topic/entry entry colsep-1 rowsep-1" headers = "concept_xy2_4kj_sdc__lb-usage-commands_table_xnn_gjh_rdc__entry__1" > 清除编译生成的内容。< / td > < td class = "- topic/entry entry colsep-1 rowsep-1" headers = "concept_xy2_4kj_sdc__lb-usage-commands_table_xnn_gjh_rdc__entry__2" > < / td > < td class = "- topic/entry entry colsep-0 rowsep-1" headers = "concept_xy2_4kj_sdc__lb-usage-commands_table_xnn_gjh_rdc__entry__3" > make c< / td > < / tr > < tr class = "- topic/row" > < td class = "- topic/entry entry colsep-1 rowsep-1" headers = "concept_xy2_4kj_sdc__lb-usage-commands_table_xnn_gjh_rdc__entry__1" > 清除编译生成的内容,并解压源码。< / td > < td class = "- topic/entry entry colsep-1 rowsep-1" headers = "concept_xy2_4kj_sdc__lb-usage-commands_table_xnn_gjh_rdc__entry__2" > < / td > < td class = "- topic/entry entry colsep-0 rowsep-1" headers = "concept_xy2_4kj_sdc__lb-usage-commands_table_xnn_gjh_rdc__entry__3" > -< / td > < / tr > < tr class = "- topic/row" > < td class = "- topic/entry entry colsep-1 rowsep-1" headers = "concept_xy2_4kj_sdc__lb-usage-commands_table_xnn_gjh_rdc__entry__1" > 查看当前项目有哪些编译目标。< / td > < td class = "- topic/entry entry colsep-1 rowsep-1" headers = "concept_xy2_4kj_sdc__lb-usage-commands_table_xnn_gjh_rdc__entry__2" > < / td > < td class = "- topic/entry entry colsep-0 rowsep-1" headers = "concept_xy2_4kj_sdc__lb-usage-commands_table_xnn_gjh_rdc__entry__3" > -< / td > < / tr > < tr class = "- topic/row" > < td class = "- topic/entry entry colsep-1 rowsep-1" headers = "concept_xy2_4kj_sdc__lb-usage-commands_table_xnn_gjh_rdc__entry__1" > 快速创建新开发版配置。< / td > < td class = "- topic/entry entry colsep-1 rowsep-1" headers = "concept_xy2_4kj_sdc__lb-usage-commands_table_xnn_gjh_rdc__entry__2" > < / td > < td class = "- topic/entry entry colsep-0 rowsep-1" headers = "concept_xy2_4kj_sdc__lb-usage-commands_table_xnn_gjh_rdc__entry__3" > -< / td > < / tr > < tr class = "- topic/row" > < td class = "- topic/entry entry colsep-1 rowsep-1" headers = "concept_xy2_4kj_sdc__lb-usage-commands_table_xnn_gjh_rdc__entry__1" > 快速删除开发板配置。< / td > < td class = "- topic/entry entry colsep-1 rowsep-1" headers = "concept_xy2_4kj_sdc__lb-usage-commands_table_xnn_gjh_rdc__entry__2" > < / td > < td class = "- topic/entry entry colsep-0 rowsep-1" headers = "concept_xy2_4kj_sdc__lb-usage-commands_table_xnn_gjh_rdc__entry__3" > -< / td > < / tr > < tr class = "- topic/row" > < td class = "- topic/entry entry colsep-1 rowsep-1" headers = "concept_xy2_4kj_sdc__lb-
< / div > < section class = "- topic/section section" id = "concept_xy2_4kj_sdc__section_jxv_tsp_5dc" data-ofbid = "concept_xy2_4kj_sdc__section_jxv_tsp_5dc" > < h2 class = "- topic/title title sectiontitle" > make list< / h2 >
< div class = "- topic/div div" >
< p class = "- topic/p p" data-ofbid = "d349077e168__20250121172125" > 列出当前可用的 < span class = "+ topic/ph sw-d/filepath ph filepath" > board_defconfig< / span > 项目配置文件。< / p >
< p class = "- topic/p p" data-ofbid = "d349077e174__20250121172125" > 输出示例如下:< / p >
< pre class = "+ topic/pre pr-d/codeblock pre codeblock language-c" id = "concept_xy2_4kj_sdc__codeblock_d1k_2np_5dc" data-ofbid = "concept_xy2_4kj_sdc__codeblock_d1k_2np_5dc" > Built-in configs:
d211_demo100_nand_defconfig - Build < strong class = "hl-keyword" > for< / strong > d211_demo100_nand
d211_demo128_nand_defconfig - Build < strong class = "hl-keyword" > for< / strong > d211_demo128_nand
d211_demo88_nand_defconfig - Build < strong class = "hl-keyword" > for< / strong > d211_demo88_nand
d211_demo88_nor_defconfig - Build < strong class = "hl-keyword" > for< / strong > d211_demo88_nor
d211_demo88_nor_musl_defconfig - Build < strong class = "hl-keyword" > for< / strong > d211_demo88_nor_musl
d211_demo_defconfig - Build < strong class = "hl-keyword" > for< / strong > d211_demo
d211_ota_defconfig - Build < strong class = "hl-keyword" > for< / strong > d211_ota
d211_ota_emmc_defconfig - Build < strong class = "hl-keyword" > for< / strong > d211_ota_emmc< / pre >
< / div >
< / section > < section class = "- topic/section section" id = "concept_xy2_4kj_sdc__section_owm_psp_5dc" data-ofbid = "concept_xy2_4kj_sdc__section_owm_psp_5dc" > < h2 class = "- topic/title title sectiontitle" > make board_deconfig< / h2 >
< p class = "- topic/p p" data-ofbid = "d349077e186__20250121172125" > 应用项目配置,保存目录 < span class = "+ topic/ph sw-d/filepath ph filepath" > target/configs< / span > 。例如
< span class = "+ topic/ph sw-d/filepath ph filepath" > d211_demo128_nand_defconfig< / span > 。< / p >
< pre class = "- topic/pre pre" id = "concept_xy2_4kj_sdc__lb-usage-commands_codecell1" data-ofbid = "concept_xy2_4kj_sdc__lb-usage-commands_codecell1" > make d211_demo128_nand_defconfig< / pre >
< p class = "- topic/p p" data-ofbid = "d349077e198__20250121172125" > 默认情况下,使用 < span class = "+ topic/ph sw-d/filepath ph filepath" > output< / span > 作为项目的工作或输出目录。 使用 < code class = "+ topic/ph pr-d/codeph ph codeph" > O=dir< / code >
命令可以指定一个专用的工作或输出目录,例如 < code class = "+ topic/ph pr-d/codeph ph codeph" > make O=demo128_nand
d211_demo128_nand_defconfig< / code > 。< / p >
< p class = "- topic/p p" data-ofbid = "d349077e210__20250121172125" > 当指定了 < code class = "+ topic/ph pr-d/codeph ph codeph" > O=demo128_nand< / code > ,后续所有与该项目相关的 < span class = "+ topic/keyword sw-d/cmdname keyword cmdname" > make< / span > 操作,都需要加上
< code class = "+ topic/ph pr-d/codeph ph codeph" > O=demo128_nand< / code > 选项。用户也可以使用 < span class = "+ topic/keyword sw-d/cmdname keyword cmdname" > cd demo128_nand< / span >
进入该目录后进行编译操作。< / p >
< / section > < section class = "- topic/section section" id = "concept_xy2_4kj_sdc__section_aqn_4sp_5dc" data-ofbid = "concept_xy2_4kj_sdc__section_aqn_4sp_5dc" > < h2 class = "- topic/title title sectiontitle" > make< / h2 >
< p class = "- topic/p p" data-ofbid = "d349077e230__20250121172125" > 编译,自动进行修改检测,增量编译。< / p >
< / section > < section class = "- topic/section section" id = "concept_xy2_4kj_sdc__section_plz_nsp_5dc" data-ofbid = "concept_xy2_4kj_sdc__section_plz_nsp_5dc" > < h2 class = "- topic/title title sectiontitle" > make all< / h2 > 编译整个项目,包括 Bootloader、Kernel、应用层的
Pacakge、RootFS 以及生成最终的烧录镜像文件。< p class = "- topic/p p" data-ofbid = "d349077e237__20250121172125" > SDK 具有源码修改检测功能,在修改了 SDK 中任意包的源码之后,执行 < span class = "+ topic/keyword sw-d/cmdname keyword cmdname" > make
all< / span > 会触发该包重新编译,通常是增量编译。< / p > < / section > < section class = "- topic/section section" id = "concept_xy2_4kj_sdc__section_nq3_nsp_5dc" data-ofbid = "concept_xy2_4kj_sdc__section_nq3_nsp_5dc" > < h2 class = "- topic/title title sectiontitle" > make clean< / h2 > 清除编译生成内容。< / section > < section class = "- topic/section section" id = "concept_xy2_4kj_sdc__section_jgq_ksp_5dc" data-ofbid = "concept_xy2_4kj_sdc__section_jgq_ksp_5dc" > < h2 class = "- topic/title title sectiontitle" > make distclean< / h2 > 清除编译生成内容,以及解压源码。< / section > < section class = "- topic/section section" id = "concept_xy2_4kj_sdc__section_nhy_jsp_5dc" data-ofbid = "concept_xy2_4kj_sdc__section_nhy_jsp_5dc" > < h2 class = "- topic/title title sectiontitle" > make show-targets< / h2 >
< p class = "- topic/p p" data-ofbid = "d349077e255__20250121172125" > 查看当前项目有哪些编译目标。< / p >
< / section > < section class = "- topic/section section" id = "concept_xy2_4kj_sdc__section_tyq_3sp_5dc" data-ofbid = "concept_xy2_4kj_sdc__section_tyq_3sp_5dc" > < h2 class = "- topic/title title sectiontitle" > make add_board< / h2 >
< p class = "- topic/p p" data-ofbid = "d349077e263__20250121172125" > 快速创建新开发版配置。< / p >
< p class = "- topic/p p" data-ofbid = "d349077e266__20250121172125" > add_board 程序以原厂公板的配置文件为模板来创建新板子对应的目录和参数配置。一款产品对应一个板子,开发新产品时,需要在 SDK
中创建新的板子以及对应的配置。< / p >
< / section > < section class = "- topic/section section" id = "concept_xy2_4kj_sdc__section_xzq_mrp_5dc" data-ofbid = "concept_xy2_4kj_sdc__section_xzq_mrp_5dc" > < h2 class = "- topic/title title sectiontitle" > make del_board< / h2 >
< p class = "- topic/p p" data-ofbid = "d349077e274__20250121172125" > 快速删除开发板配置。< / p >
< p class = "- topic/p p" data-ofbid = "d349077e277__20250121172125" > 输出示例如下:< / p >
< pre class = "+ topic/pre pr-d/codeblock pre codeblock language-c" id = "concept_xy2_4kj_sdc__codeblock_e1k_2np_5dc" data-ofbid = "concept_xy2_4kj_sdc__codeblock_e1k_2np_5dc" > Reference defconfig:(Delete one board base on selected defconfig)
d211_demo100_nand_defconfig
d211_demo128_nand_defconfig
d211_demo88_nand_defconfig
d211_demo88_nor_defconfig
d211_demo88_nor_musl_defconfig
d211_demo_defconfig
d211_ota_defconfig
d211_ota_emmc_defconfig
Select reference defconfig < strong class = "hl-keyword" > for< / strong > detele board(number): < span class = "hl-number" > 1< / span >
d211_demo100_nand_defconfig< / pre >
< / section > < section class = "- topic/section section" id = "concept_xy2_4kj_sdc__section_gvq_hrp_5dc" data-ofbid = "concept_xy2_4kj_sdc__section_gvq_hrp_5dc" > < h2 class = "- topic/title title sectiontitle" > make menuconfig< / h2 >
< p class = "- topic/p p" data-ofbid = "d349077e289__20250121172125" > 进入 menuconfig 配置界面,用于修改项目的配置< / p >
< figure class = "- topic/fig fig fignone" id = "concept_xy2_4kj_sdc__lb-usage-commands_fig_k35_d2p_fdc" data-ofbid = "concept_xy2_4kj_sdc__lb-usage-commands_fig_k35_d2p_fdc" > < br / > < div class = "imagecenter" > < img class = "- topic/image image imagecenter" id = "concept_xy2_4kj_sdc__lb-usage-commands_image_gcq_c2p_fdc" src = "../../../images/sdk/luban-menuconfig.png" width = "576" alt = "luban-menuconfig" / > < / div > < br / > < / figure >
< p class = "- topic/p p" data-ofbid = "d349077e297__20250121172125" > 配置完成后,保存并退出,相应的改动会同步到原有的 < span class = "+ topic/ph sw-d/filepath ph filepath" > board_defconfig< / span > 文件中。< / p >
< / section > < section class = "- topic/section section" id = "concept_xy2_4kj_sdc__section_g5z_brp_5dc" data-ofbid = "concept_xy2_4kj_sdc__section_g5z_brp_5dc" > < h2 class = "- topic/title title sectiontitle" > make uboot-menuconfig< / h2 > 启动 menuconfig 中的
U-Boot 配置界面,配置 U-Boot 相关选项参数。保存配置后对应的修改都会同步到原有的 defconfig 文件中。< / section > < section class = "- topic/section section" id = "concept_xy2_4kj_sdc__section_edl_1rp_5dc" data-ofbid = "concept_xy2_4kj_sdc__section_edl_1rp_5dc" > < h2 class = "- topic/title title sectiontitle" > make uboot-rebuild< / h2 >
< p class = "- topic/p p" data-ofbid = "d349077e312__20250121172125" > 重新编译 U-Boot。< / p >
< / section > < section class = "- topic/section section" id = "concept_xy2_4kj_sdc__section_alf_yqp_5dc" data-ofbid = "concept_xy2_4kj_sdc__section_alf_yqp_5dc" > < h2 class = "- topic/title title sectiontitle" > make linux-menuconfig< / h2 >
< p class = "- topic/p p" data-ofbid = "d349077e320__20250121172125" > 启动 menuconfig 中的 Linux 内核配置界面,配置内核相关选项参数。保存配置后对应的修改都会同步到原有的 defconfig 文件中。< / p >
< p class = "- topic/p p" data-ofbid = "d349077e323__20250121172125" > 与 配置功能相同。< / p >
< / section > < section class = "- topic/section section" id = "concept_xy2_4kj_sdc__section_hg5_vqp_5dc" data-ofbid = "concept_xy2_4kj_sdc__section_hg5_vqp_5dc" > < h2 class = "- topic/title title sectiontitle" > make kernel-menuconfig< / h2 >
< p class = "- topic/p p" data-ofbid = "d349077e331__20250121172125" > 启动 menuconfig 中的内核配置界面,配置内核相关选项参数。保存配置后对应的修改都会同步到原有的 defconfig 文件中。< / p >
< / section > < section class = "- topic/section section" id = "concept_xy2_4kj_sdc__section_gzs_wqp_5dc" data-ofbid = "concept_xy2_4kj_sdc__section_gzs_wqp_5dc" > < h2 class = "- topic/title title sectiontitle" > make linux-rebuild< / h2 >
< p class = "- topic/p p" data-ofbid = "d349077e339__20250121172125" > 重新编译内核。< / p >
< / section > < section class = "- topic/section section" id = "concept_xy2_4kj_sdc__section_c21_nqp_5dc" data-ofbid = "concept_xy2_4kj_sdc__section_c21_nqp_5dc" > < h2 class = "- topic/title title sectiontitle" > make busybox-menuconfig< / h2 >
< p class = "- topic/p p" data-ofbid = "d349077e347__20250121172125" > 启动 menuconfig 中的 Busybox 配置界面,配置 Busybox 相关选项参数。保存配置后对应的修改都会同步到原有的 defconfig 文件中。< / p >
< / 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" > < strong > 相关信息< / strong > < ul class = "linklist related_link" > < li class = "linklist" > < a class = "- topic/link link navheader_parent_path" href = "burn-image-add-dev-board.html" title = "添加开发板" > 添加开发板< / a > < / li > < li class = "linklist" > < a class = "- topic/link link navheader_parent_path" href = "lb-delete-dev-board.html" title = "删除开发板" > 删除开发板< / a > < / li > < li class = "linklist" > < a class = "- topic/link link navheader_parent_path" href = "lb_usage_add_new_package.html" title = "添加新应用" > 添加新应用< / a > < / li > < li class = "linklist" > < a class = "- topic/link link navheader_parent_path" href = "configure-precompilation-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 = "#concept_xy2_4kj_sdc__section_jxv_tsp_5dc" data-tocid = "concept_xy2_4kj_sdc__section_jxv_tsp_5dc" > make list< / a > < / div > < / li > < li class = "section-item" > < div class = "section-title" > < a href = "#concept_xy2_4kj_sdc__section_owm_psp_5dc" data-tocid = "concept_xy2_4kj_sdc__section_owm_psp_5dc" > make board_deconfig< / a > < / div > < / li > < li class = "section-item" > < div class = "section-title" > < a href = "#concept_xy2_4kj_sdc__section_aqn_4sp_5dc" data-tocid = "concept_xy2_4kj_sdc__section_aqn_4sp_5dc" > make< / a > < / div > < / li > < li class = "section-item" > < div class = "section-title" > < a href = "#concept_xy2_4kj_sdc__section_plz_nsp_5dc" data-tocid = "concept_xy2_4kj_sdc__section_plz_nsp_5dc" > make all< / a > < / div > < / li > < li class = "section-item" > < div class = "section-title" > < a href = "#concept_xy2_4kj_sdc__section_nq3_nsp_5dc" data-tocid = "concept_xy2_4kj_sdc__section_nq3_nsp_5dc" > make clean< / a > < / div > < / li > < li class = "section-item" > < div class = "section-title" > < a href = "#concept_xy2_4kj_sdc__section_jgq_ksp_5dc" data-tocid = "concept_xy2_4kj_sdc__section_jgq_ksp_5dc" > make distclean< / a > < / div > < / li > < li class = "section-item" > < div class = "section-title" > < a href = "#concept_xy2_4kj_sdc__section_nhy_jsp_5dc" data-tocid = "concept_xy2_4kj_sdc__section_nhy_jsp_5dc" > make show-targets< / a > < / div > < / li > < li class = "section-item" > < div class = "section-title" > < a href = "#concept_xy2_4kj_sdc__section_tyq_3sp_5dc" data-tocid = "concept_xy2_4kj_sdc__section_tyq_3sp_5dc" > make add_board< / a > < / div > < / li > < li class = "section-item" > < div class = "section-title" > < a href = "#concept_xy2_4kj_sdc__section_xzq_mrp_5dc" data-tocid = "concept_xy2_4kj_sdc__section_xzq_mrp_5dc" > make del_board< / a > < / div > < / li > < li class = "section-item" > < div class = "section-title" > < a href = "#concept_xy2_4kj_sdc__section_gvq_hrp_5dc" data-tocid = "concept_xy2_4kj_sdc__section_gvq_hrp_5dc" > make menuconfig< / a > < / div > < / li > < li class = "section-item" > < div class = "section-title" > < a href = "#concept_xy2_4kj_sdc__section_g5z_brp_5dc" data-tocid = "concept_xy2_4kj_sdc__section_g5z_brp_5dc" > make uboot-menuconfig< / a > < / div > < / li > < li class = "section-item" > < div class = "section-title" > < a href = "#concept_xy2_4kj_sdc__section_edl_1rp_5dc" data-tocid = "concept_xy2_4kj_sdc__section_edl_1rp_5dc" > make uboot-rebuild< / a > < / div > < / li > < li class = "section-item" > < div class = "section-title" > < a href = "#concept_xy2_4kj_sdc__section_alf_yqp_5dc" data-tocid = "concept_xy2_4kj_sdc__section_alf_yqp_5dc" > make linux-menuconfig< / a > < / div > < / li > < li class = "section-item" > < div class = "section-title" > < a href = "#concept_xy2_4kj_sdc__section_hg5_vqp_5dc" data-tocid = "concept_xy2_4kj_sdc__section_hg5_vqp_5dc" > make kernel-menuconfig< / a > < / div > < / li > < li class = "section-item" > < div class = "section-title" > < a href = "#concept_xy2_4kj_sdc__section_gzs_wqp_5dc" data-tocid = "concept_xy2_4kj_sdc__section_gzs_wqp_5dc" > make linux-rebuild< / a > < / div > < / li > < li class = "section-item" > < div class = "section-title" > < a href = "#concept_xy2_4kj_sdc__section_c21_nqp_5dc" data-tocid = "concept_xy2_4kj_sdc__section_c21_nqp_5dc" > make busybox-menuconfig< / 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-21
< / div >
< / div >
< / div >
< / footer >
< div id = "go2top" class = "d-print-none" >
< span class = "oxy-icon oxy-icon-up" > < / span >
< / div >
< 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 >
2025-01-23 16:37:00 +08:00
< / html >