cmake: also include files from include/<soc_name>
SoCs can have different headers, make the build system include those if the directory exists for this SoC. Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
43371d0414
commit
c8080d8ecc
|
@ -122,6 +122,7 @@ include(${ZEPHYR_BASE}/cmake/linker_script/${ARCH}/linker.cmake OPTIONAL)
|
|||
foreach(optional_include_dir
|
||||
${SOC_DIR}/${ARCH}/${SOC_PATH}
|
||||
${SOC_DIR}/${ARCH}/${SOC_PATH}/include
|
||||
${SOC_DIR}/${ARCH}/${SOC_PATH}/include/${SOC_NAME}
|
||||
${SOC_DIR}/${ARCH}/${SOC_FAMILY}/include
|
||||
${SOC_DIR}/${ARCH}/${SOC_FAMILY}/common/include
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue