boards: shields: Allow adding source code to shields
Add shield CMakeLists.txt if it exists. Useful for one-off shields that require C code Signed-off-by: Grant Ramsay <gramsay@enphaseenergy.com>
This commit is contained in:
parent
b5a3f7532f
commit
4a21035aa5
2 changed files with 20 additions and 0 deletions
|
@ -17,3 +17,5 @@ if(EXISTS ${BOARD_DIR}/CMakeLists.txt)
|
|||
|
||||
add_subdirectory(${BOARD_DIR} ${build_dir})
|
||||
endif()
|
||||
|
||||
add_subdirectory(shields)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue