cmake: define NUTTX_COMMON_DIR
This commit is contained in:
parent
409cb61d49
commit
88e01fd335
|
@ -115,6 +115,11 @@ else()
|
|||
LIST_DIRECTORIES true
|
||||
"${NUTTX_DIR}/boards/*/*/${NUTTX_BOARD}")
|
||||
|
||||
file(
|
||||
GLOB NUTTX_COMMON_DIR
|
||||
LIST_DIRECTORIES true
|
||||
"${NUTTX_DIR}/boards/*/*/common")
|
||||
|
||||
if(EXISTS ${NUTTX_BOARD_DIR}/configs/${NUTTX_CONFIG}/defconfig)
|
||||
set(NUTTX_DEFCONFIG ${NUTTX_BOARD_DIR}/configs/${NUTTX_CONFIG}/defconfig)
|
||||
endif()
|
||||
|
|
Loading…
Reference in New Issue