File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -140,6 +140,11 @@ macro(macro_for_each_platform)
140140 if (EXISTS ${SRC_FILE} )
141141 list (APPEND CORE_SRCS_${CORE_TYPE} _CPP_BASE ${SRC_FILE} )
142142 endif ()
143+
144+ set (SRC_FILE ${PATH_TO_CORE} hw_info_${PLATFORM_IT_LOWER} .h)
145+ if (EXISTS ${SRC_FILE} )
146+ list (APPEND CORE_SRCS_${CORE_TYPE} _H_BASE ${SRC_FILE} )
147+ endif ()
143148 endforeach ()
144149 endforeach ()
145150
@@ -151,7 +156,7 @@ macro(macro_for_each_core_type)
151156 set (GENERATED_COREX_PREFIX ${CMAKE_CURRENT_SOURCE_DIR} /generated ${BRANCH}${CORE_TYPE_LOWER} )
152157
153158 foreach (BRANCH_DIR ${BRANCH_DIR_LIST} )
154- foreach (SRC_IT ${CORE_SRCS_COREX_H_BASE} "hw_info_${CORE_TYPE_LOWER} .h" )
159+ foreach (SRC_IT ${CORE_SRCS_COREX_H_BASE} "hw_info_${CORE_TYPE_LOWER} .h" "hw_cmds_ ${CORE_TYPE_LOWER} _base.h" )
155160 set (SRC_FILE ${CORE_COREX_PREFIX}${BRANCH_DIR}${SRC_IT} )
156161 if (EXISTS ${SRC_FILE} )
157162 list (APPEND CORE_SRCS_${CORE_TYPE} _H_BASE ${SRC_FILE} )
You can’t perform that action at this time.
0 commit comments