Skip to content

Commit cb86a0c

Browse files
committed
important bugfixes
1 parent a2eef95 commit cb86a0c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

RTEMSPreProjectConfig.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ set(ENV{RTEMS_PREFIX} ${RTEMS_PREFIX})
5555
set(ENV{RTEMS_BSP} ${RTEMS_BSP})
5656
set(ENV{RTEMS_VERSION} ${RTEMS_VERSION})
5757
if(NOT DEFINED ENV{RTEMS_TOOLS})
58-
set(ENV{RTEMS_TOOLS} RTEMS_TOOLS)
58+
set(ENV{RTEMS_TOOLS} ${RTEMS_TOOLS})
5959
endif()
6060
set(ENV{RTEMS_BSP_NAME} ${RTEMS_BSP_NAME})
6161
set(ENV{RTEMS_ARCH_NAME} ${RTEMS_ARCH_NAME})

RTEMSToolchain.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ endif()
3636

3737
set(RTEMS_BIN_PATH "$ENV{RTEMS_TOOLS}/bin")
3838
if(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}")
4040
endif()
4141

4242
list(APPEND CMAKE_PREFIX_PATH "${RTEMS_TOOLS}")

0 commit comments

Comments
 (0)