From f4d372bf7d41fc5ee4337733fc0ef562ece904f7 Mon Sep 17 00:00:00 2001 From: Torsten Rasmussen Date: Wed, 19 Oct 2022 10:20:41 +0200 Subject: [PATCH] doc: clarify where application can use ExternalZephyrProject_Add The sysbuild documentation refers to CMakeLists.txt which can lead the user to believe this call can be added to the /CMakeLists.txt file. This file is sourced as part of the Zephyr CMake build and not sysbuild CMake build. Therefore change the description to sysbuild.cmake. Signed-off-by: Torsten Rasmussen --- doc/build/sysbuild/index.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/doc/build/sysbuild/index.rst b/doc/build/sysbuild/index.rst index b0c4be36f95..4548d05bbcc 100644 --- a/doc/build/sysbuild/index.rst +++ b/doc/build/sysbuild/index.rst @@ -392,8 +392,9 @@ Adding Zephyr applications to sysbuild ************************************** You can use the ``ExternalZephyrProject_Add()`` function to add Zephyr -applications as sysbuild domains. Call this CMake function from your main -:file:`CMakeLists.txt` file, or any other CMake file you know will run. +applications as sysbuild domains. Call this CMake function from your +application's :file:`sysbuild.cmake` file, or any other CMake file you know will +run as part sysbuild CMake invocation. Targeting the same board ========================