From 269799e0e97a374d11fd2de29766e65beba088be Mon Sep 17 00:00:00 2001 From: Paul Schaetzle Date: Fri, 2 May 2025 11:50:49 +0200 Subject: [PATCH] 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 --- cmake/modules/shields.cmake | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmake/modules/shields.cmake b/cmake/modules/shields.cmake index 145f559b292..04aaec57ac7 100644 --- a/cmake/modules/shields.cmake +++ b/cmake/modules/shields.cmake @@ -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