diff --git a/docs/en/api-guides/linker-script-generation.rst b/docs/en/api-guides/linker-script-generation.rst index 4c03470368..71159ad08e 100644 --- a/docs/en/api-guides/linker-script-generation.rst +++ b/docs/en/api-guides/linker-script-generation.rst @@ -36,7 +36,7 @@ add an entry to it from the component, set the variable ``COMPONENT_ADD_LDFRAGME .. code-block:: make # file paths relative to component Makefile - COMPONENT_ADD_LDFRAGMENTS += "path/to/linker_fragment_file.lf" "path/to/another_linker_fragment_file.lf" + COMPONENT_ADD_LDFRAGMENTS += path/to/linker_fragment_file.lf CMake """"" diff --git a/docs/zh_CN/api-guides/linker-script-generation.rst b/docs/zh_CN/api-guides/linker-script-generation.rst index 9e47f70445..8cb374d9b8 100644 --- a/docs/zh_CN/api-guides/linker-script-generation.rst +++ b/docs/zh_CN/api-guides/linker-script-generation.rst @@ -27,7 +27,7 @@ Make .. code-block:: make # 文件路径相对于组件的 Makefile - COMPONENT_ADD_LDFRAGMENTS += "path/to/linker_fragment_file.lf" "path/to/another_linker_fragment_file.lf" + COMPONENT_ADD_LDFRAGMENTS += path/to/linker_fragment_file.lf CMake """""