From a8f9ae8584cfc537c0a74a694c5ea775ca86941a Mon Sep 17 00:00:00 2001 From: Joseph Hickey Date: Fri, 20 Dec 2019 13:54:57 -0500 Subject: [PATCH] Fix #438: Set OSAL_SYSTEM_BSPTYPE for native builds This explicitly specifies the BSP to use when using SIMULATION=native flags to the build. All other example toolchain files already included this setting. --- cmake/arch_build.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/cmake/arch_build.cmake b/cmake/arch_build.cmake index 9569956bb..8194dc9bb 100644 --- a/cmake/arch_build.cmake +++ b/cmake/arch_build.cmake @@ -280,6 +280,7 @@ function(prepare) "${CMAKE_SYSTEM_NAME}" STREQUAL "CYGWIN") # Export the variables determined here up to the parent scope SET(CFE_SYSTEM_PSPNAME "pc-linux" PARENT_SCOPE) + SET(OSAL_SYSTEM_BSPTYPE "pc-linux" PARENT_SCOPE) SET(OSAL_SYSTEM_OSTYPE "posix" PARENT_SCOPE) else () # Not cross compiling and host system is not recognized