diff --git a/docs/en/api-guides/build-system.rst b/docs/en/api-guides/build-system.rst index 68d276ff32a..dac364db218 100644 --- a/docs/en/api-guides/build-system.rst +++ b/docs/en/api-guides/build-system.rst @@ -1517,7 +1517,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. diff --git a/docs/zh_CN/api-guides/build-system.rst b/docs/zh_CN/api-guides/build-system.rst index 6f70d21ea37..ecc4b74db5e 100644 --- a/docs/zh_CN/api-guides/build-system.rst +++ b/docs/zh_CN/api-guides/build-system.rst @@ -1519,7 +1519,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()`` 命令标志着这个阶段的结束。