############################################################################### # (c) 2017 Copyright, Real-Time Innovations, Inc. All rights reserved. # RTI grants Licensee a license to use, modify, compile, and create derivative # works of the Software. Licensee has the right to distribute object form only # for use with RTI products. The Software is provided "as is", with no warranty # of any type, including any warranty for fitness for any purpose. RTI is under # no obligation to maintain or support the Software. RTI shall not be liable for # any incidental or consequential damages arising out of the use or inability to # use the software. ############################################################################### # This architecture is expected to be compiled on a remote machine with the # cross-compiler SET(CMAKE_SYSTEM_NAME Linux) IF (${TARGET_HELP}) MESSAGE("TARGET\n\n uCLinux\n") MESSAGE("\nEXAMPLES\n") MESSAGE(" --target uClinux --name armSTM32uCLinuxgcc4.4.1\n") ENDIF() INCLUDE(${CMAKE_CURRENT_LIST_DIR}/platform/linux.tc) IF (NOT ${TARGET_HELP}) IF (${RTIME_TARGET_NAME} MATCHES "gcc") INCLUDE(${CMAKE_CURRENT_LIST_DIR}/compiler/ucgcc.tc) ELSE() MESSAGE(FATAL_ERROR "Unknown compiler specified in ${RTIME_TARGET_NAME}") ENDIF() ELSE() INCLUDE(${CMAKE_CURRENT_LIST_DIR}/compiler/ucgcc.tc) ENDIF()