Lines Matching +full:2 +full:- +full:phase
1 .. _cmake-details:
32 .. code-block:: cmake
51 phase (driven by CMake) and a build phase (driven by Make or Ninja).
55 Configuration Phase
56 -------------------
58 The configuration phase begins when the user invokes *CMake* to generate a
61 .. figure:: build-config-phase.svg
63 :alt: Zephyr's build configuration phase
64 :figclass: align-center
69 top-level directory, which in turn refers to :file:`CMakeLists.txt` files
108 :ref:`dt-guide`.
131 Build Phase
132 -----------
134 The build phase begins when the user invokes ``make`` or ``ninja``. Its
137 :file:`zephyr.hex`, etc.) The build phase can be broken down, conceptually,
138 into four stages: the pre-build, first-pass binary, final binary, and
139 post-processing.
141 Pre-build
144 Pre-build occurs before any source files are compiled, because during
145 this phase header files used by the source files are generated.
148 Access to high-level data structures and members is sometimes
158 .. figure:: build-build-phase-1.svg
161 :figclass: align-center
169 decided during the configuration phase), and compiled into archives
171 generated during the configuration phase and the pre-build stage(s)).
173 .. figure:: build-build-phase-2.svg
176 :figclass: align-center
180 phase.
201 by post-process steps that will impact the size of the final binary.
203 .. figure:: build-build-phase-3.svg
206 :figclass: align-center
216 .. figure:: build-build-phase-4.svg
219 :figclass: align-center
222 Intermediate binaries post-processing
239 .. figure:: build-postprocess-1.svg
241 :alt: Zephyr's intermediate binary post-process I
242 :figclass: align-center
253 .. figure:: build-postprocess-2.svg
255 :alt: Zephyr's intermediate binary post-process II
256 :figclass: align-center
264 .. figure:: build-postprocess-3.svg
266 :alt: Zephyr's intermediate binary post-process III
267 :figclass: align-center
279 .. figure:: build-postprocess-4.svg
281 :alt: Zephyr's intermediate binary post-process IV
282 :figclass: align-center
285 When no intermediate binary post-processing is required then the first
297 .. figure:: build-build-phase-5.svg
300 :figclass: align-center
310 .. figure:: build-build-phase-6.svg
312 :alt: Zephyr's build final stage post-process
313 :figclass: align-center
327 --------------------------------------------
330 :start-after: """
331 :end-before: """
336 -----------------------------------------------
339 :start-after: """
340 :end-before: """
345 ------------------------------------------------
348 :start-after: """
349 :end-before: """
354 -------------------------------------------------
357 :start-after: """
358 :end-before: """
363 ----------------------------------------------
367 :start-after: """
368 :end-before: """
373 ----------------------------------
376 :start-after: """
377 :end-before: """
382 ----------------------------------
385 :start-after: """
386 :end-before: """
391 ------------------------------------------------
394 :start-after: """
395 :end-before: """
400 ---------------------------------------------
403 :start-after: """
404 :end-before: """
407 --------------------------------------------------
410 :start-after: """
411 :end-before: """
416 -----------------------------------------------------
419 :start-after: """
420 :end-before: """