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>
This commit is contained in:
Paul Schaetzle 2025-05-02 11:50:49 +02:00 committed by Benjamin Cabé
commit 269799e0e9

View file

@ -93,6 +93,8 @@ if(DEFINED SHIELD)
${SHIELD_DIR_${s}}
)
include(${SHIELD_DIR_${s}}/pre_dt_shield.cmake OPTIONAL)
# Search for shield/shield.conf file
if(EXISTS ${SHIELD_DIR_${s}}/${s}.conf)
list(APPEND