From 1037348b7b16a2af073e711eb546a6689f5da881 Mon Sep 17 00:00:00 2001 From: Marti Bolivar Date: Sat, 7 Jan 2023 15:28:29 -0800 Subject: [PATCH] doc: update stale references to boilerplate.cmake Inclusion of this file is now deprecated in favor of find_package(Zephyr ...). Update documentation appropriately. Signed-off-by: Marti Bolivar --- doc/kernel/code-relocation.rst | 3 ++- doc/kernel/usermode/syscalls.rst | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/doc/kernel/code-relocation.rst b/doc/kernel/code-relocation.rst index 715ce4bbb20..90ce99d0ba2 100644 --- a/doc/kernel/code-relocation.rst +++ b/doc/kernel/code-relocation.rst @@ -63,7 +63,8 @@ for data copy operations from ROM to required memory type. The file argument supports limited regular expressions. function zephyr_code_relocate() can be called as many times as required. - This step has to be performed before the inclusion of boilerplate.cmake. + This step has to be performed before calling find_package(Zephyr ...) + in the application's CMakeLists.txt. Additional Configurations diff --git a/doc/kernel/usermode/syscalls.rst b/doc/kernel/usermode/syscalls.rst index a26929be7c1..43ff5f23eb5 100644 --- a/doc/kernel/usermode/syscalls.rst +++ b/doc/kernel/usermode/syscalls.rst @@ -96,7 +96,7 @@ always contains ``${ZEPHYR_BASE}/include``, but will also contain is set, or ``${ZEPHYR_BASE}/subsys/testsuite/ztest/include`` when ``CONFIG_ZTEST`` is set. Additional paths can be added to the list through the CMake command line or in CMake code that is run before -``${ZEPHYR_BASE}/cmake/app/boilerplate.cmake`` is run. +``find_package(Zephyr ...)`` is run. Invocation Context ==================