diff --git a/cmake/app/boilerplate.cmake b/cmake/app/boilerplate.cmake index 3d49838995..1f03b0f8f0 100644 --- a/cmake/app/boilerplate.cmake +++ b/cmake/app/boilerplate.cmake @@ -343,6 +343,11 @@ foreach(root ${BOARD_ROOT}) ${SHIELD_DIR_${s}}/dts_fixup.h ) + list(APPEND + SHIELD_DIRS + ${SHIELD_DIR_${s}} + ) + # search for shield/shield.conf file if(EXISTS ${shield_dir}/${s_dir}/${s}.conf) # add shield.conf to the shield config list