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:
parent
649eb6280d
commit
269799e0e9
1 changed files with 2 additions and 0 deletions
|
@ -93,6 +93,8 @@ if(DEFINED SHIELD)
|
||||||
${SHIELD_DIR_${s}}
|
${SHIELD_DIR_${s}}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
include(${SHIELD_DIR_${s}}/pre_dt_shield.cmake OPTIONAL)
|
||||||
|
|
||||||
# Search for shield/shield.conf file
|
# Search for shield/shield.conf file
|
||||||
if(EXISTS ${SHIELD_DIR_${s}}/${s}.conf)
|
if(EXISTS ${SHIELD_DIR_${s}}/${s}.conf)
|
||||||
list(APPEND
|
list(APPEND
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue