1set (CMAKE_SYSTEM_NAME "Generic"             CACHE STRING "")
2set (CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER CACHE STRING "")
3set (CMAKE_FIND_ROOT_PATH_MODE_LIBRARY NEVER CACHE STRING "")
4set (CMAKE_FIND_ROOT_PATH_MODE_INCLUDE NEVER CACHE STRING "")
5
6set (CMAKE_C_COMPILER   "${CROSS_PREFIX}gcc")
7set (CMAKE_CXX_COMPILER "${CROSS_PREFIX}g++")
8# _exit is in the BSP rather than in libgcc, leaving this out
9# causes errors in try_compile on ARM generic.
10set (CMAKE_TRY_COMPILE_TARGET_TYPE STATIC_LIBRARY)
11
12