Skip to content

Commit 269799e

Browse files
PaulSchaetzlekartben
authored andcommitted
cmake: modules: shields: pre_dt_shield.cmake file
Similar to the pre_dt_board.cmake, this is an optional file for additional arguments that need to get passed to the devicetree compiler. Signed-off-by: Paul Schaetzle <paulschaetzle@mailbox.org>
1 parent 649eb62 commit 269799e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cmake/modules/shields.cmake

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,8 @@ if(DEFINED SHIELD)
9393
${SHIELD_DIR_${s}}
9494
)
9595

96+
include(${SHIELD_DIR_${s}}/pre_dt_shield.cmake OPTIONAL)
97+
9698
# Search for shield/shield.conf file
9799
if(EXISTS ${SHIELD_DIR_${s}}/${s}.conf)
98100
list(APPEND

0 commit comments

Comments
 (0)