dts: Remove generation of <BOARD>.dts_compiled
Unused after the old devicescript were removed in commit c8c35f76ab
("scripts: dts: Remove deprecated extract_dts_includes.py script"). The
old scripts relied on parsing the output of 'dts -Odts', which replaces
e.g. phandle references. The new scripts parse the DTS files directly.
Keep running the dtc compiler just to catch any warnings/errors from it.
The edit to doc/guides/build/build-config-phase.svg is to remove the box
with '*.dts_compiled' in it (and the arrows to/from it). https://draw.io
can be used to edit it.
Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
This commit is contained in:
parent
9f18df0274
commit
8d8b06978c
3 changed files with 10 additions and 5 deletions
|
@ -154,7 +154,11 @@ if(SUPPORTS_DTS)
|
|||
${include_files}
|
||||
)
|
||||
|
||||
# Run the DTC on *.dts.pre.tmp to create the intermediary file *.dts_compiled
|
||||
#
|
||||
# Run the C devicetree compiler on *.dts.pre.tmp, just to catch any
|
||||
# warnings/errors from it. dtlib and edtlib parse the devicetree files
|
||||
# themselves, so we don't rely on the C compiler otherwise.
|
||||
#
|
||||
|
||||
set(DTC_WARN_UNIT_ADDR_IF_ENABLED "")
|
||||
check_dtc_flag("-Wunique_unit_address_if_enabled" check)
|
||||
|
@ -169,13 +173,14 @@ if(SUPPORTS_DTS)
|
|||
execute_process(
|
||||
COMMAND ${DTC}
|
||||
-O dts
|
||||
-o ${BOARD}.dts_compiled
|
||||
-o - # Write output to stdout, which we discard below
|
||||
-b 0
|
||||
-E unit_address_vs_reg
|
||||
${DTC_NO_WARN_UNIT_ADDR}
|
||||
${DTC_WARN_UNIT_ADDR_IF_ENABLED}
|
||||
${EXTRA_DTC_FLAGS} # User settable
|
||||
${BOARD}.dts.pre.tmp
|
||||
OUTPUT_QUIET # Discard stdout
|
||||
WORKING_DIRECTORY ${PROJECT_BINARY_DIR}
|
||||
RESULT_VARIABLE ret
|
||||
)
|
||||
|
|
File diff suppressed because one or more lines are too long
Before Width: | Height: | Size: 61 KiB After Width: | Height: | Size: 41 KiB |
|
@ -604,7 +604,7 @@ The "base" devicetree.<xhtml:div>Includes .dtsi files.<xhtml:br />
|
|||
style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; vertical-align: top; width: 116px; white-space: nowrap; overflow-wrap: normal; text-align: center;">
|
||||
<xhtml:div
|
||||
style="display:inline-block;text-align:inherit;text-decoration:inherit;white-space:normal;">
|
||||
<xhtml:div>BOARD.dts_compiled<xhtml:br />
|
||||
<xhtml:div>BOARD.dts.pre.tmp<xhtml:br />
|
||||
</xhtml:div>
|
||||
</xhtml:div>
|
||||
</xhtml:div>
|
||||
|
@ -619,7 +619,7 @@ The "base" devicetree.<xhtml:div>Includes .dtsi files.<xhtml:br />
|
|||
y="12"
|
||||
x="58"
|
||||
id="tspan200"
|
||||
sodipodi:role="line">BOARD.dts_compiled</tspan>
|
||||
sodipodi:role="line">BOARD.dts.pre.tmp</tspan>
|
||||
</text>
|
||||
</switch>
|
||||
</g>
|
||||
|
|
Before Width: | Height: | Size: 35 KiB After Width: | Height: | Size: 35 KiB |
Loading…
Add table
Add a link
Reference in a new issue