mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
Merge branch 'docs/extra_component_dirs_v5.0' into 'release/v5.0'
docs: fixed EXTRA_COMPONENT_DIRS being mispelled as EXTRA_COMPONENTS_DIRS in build-system guide (v5.0) See merge request espressif/esp-idf!22800
This commit is contained in:
commit
149a2cfc5e
@ -1420,7 +1420,7 @@ This phase sets up necessary parameters for the build.
|
||||
- Add components in :idf:`components` to the build.
|
||||
- The initial part of the custom ``project()`` command performs the following steps:
|
||||
- Set ``IDF_TARGET`` from environment variable or CMake cache and the corresponding ``CMAKE_TOOLCHAIN_FILE`` to be used.
|
||||
- Add components in ``EXTRA_COMPONENTS_DIRS`` to the build.
|
||||
- Add components in ``EXTRA_COMPONENT_DIRS`` to the build.
|
||||
- Prepare arguments for calling command ``idf_build_process()`` from variables such as ``COMPONENTS``/``EXCLUDE_COMPONENTS``, ``SDKCONFIG``, ``SDKCONFIG_DEFAULTS``.
|
||||
|
||||
The call to ``idf_build_process()`` command marks the end of this phase.
|
||||
|
@ -1420,7 +1420,7 @@ ESP-IDF 构建系统的列表文件位于 :idf:`/tools/cmake` 中。实现构建
|
||||
- 将 :idf:`components` 中的组件添加到构建中。
|
||||
- 自定义 ``project()`` 命令的初始部分执行以下步骤:
|
||||
- 在环境变量或 CMake 缓存中设置 ``IDF_TARGET`` 以及设置相应要使用的``CMAKE_TOOLCHAIN_FILE``。
|
||||
- 添加 ``EXTRA_COMPONENTS_DIRS`` 中的组件至构建中
|
||||
- 添加 ``EXTRA_COMPONENT_DIRS`` 中的组件至构建中
|
||||
- 从 ``COMPONENTS``/``EXCLUDE_COMPONENTS``、``SDKCONFIG``、``SDKCONFIG_DEFAULTS`` 等变量中为调用命令 ``idf_build_process()`` 准备参数。
|
||||
|
||||
调用 ``idf_build_process()`` 命令标志着这个阶段的结束。
|
||||
|
Loading…
x
Reference in New Issue
Block a user