File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -54,6 +54,9 @@ rtems_pkg_config()
5454set (ENV{RTEMS_PREFIX} ${RTEMS_PREFIX} )
5555set (ENV{RTEMS_BSP} ${RTEMS_BSP} )
5656set (ENV{RTEMS_VERSION} ${RTEMS_VERSION} )
57+ if (NOT DEFINED ENV{RTEMS_TOOLS})
58+ set (ENV{RTEMS_TOOLS} ${RTEMS_TOOLS} )
59+ endif ()
5760set (ENV{RTEMS_BSP_NAME} ${RTEMS_BSP_NAME} )
5861set (ENV{RTEMS_ARCH_NAME} ${RTEMS_ARCH_NAME} )
5962set (ENV{RTEMS_ARCH_VERSION_NAME} ${RTEMS_ARCH_VERSION_NAME} )
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ endif()
3636
3737set (RTEMS_BIN_PATH "$ENV{RTEMS_TOOLS} /bin" )
3838if (NOT IS_DIRECTORY "${RTEMS_BIN_PATH} " )
39- message (FATAL_ERROR "RTEMS binaries folder not found at ${RTEMS_TOOLS} /bin " )
39+ message (FATAL_ERROR "RTEMS binaries folder not found at ${RTEMS_BIN_PATH} " )
4040endif ()
4141
4242list (APPEND CMAKE_PREFIX_PATH "${RTEMS_TOOLS} " )
You can’t perform that action at this time.
0 commit comments