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 ==================