set(MULTIARCH_TUPLE "arm-fsl-linux-gnueabi")
set(TOOLCHAIN_ROOT "/opt/okmx6ul-c3-20170821/Tools/gcc-4.6.2-glibc-2.13-linaro-multilib-2011.12/fsl-linaro-toolchain")
set(CMAKE_SYSTEM_NAME Linux)
set(CMAKE_SYSTEM_VERSION 1)
set(CMAKE_PREFIX_PATH ${CMAKE_SOURCE_DIR}/staging/${MULTIARCH_TUPLE})
#set(CMAKE_SYSROOT "/opt/okmx6ul-c3-20170821/linux/image/filesystem/rootfs")
set(CMAKE_C_COMPILER "${TOOLCHAIN_ROOT}/bin/${MULTIARCH_TUPLE}-gcc")
set(CMAKE_CXX_COMPILER "${TOOLCHAIN_ROOT}/bin/${MULTIARCH_TUPLE}-g++")
set(CMAKE_FIND_ROOT_PATH "/opt/${MULTIARCH_TUPLE}")
set(CMAKE_FIND_ROOT_PATH "${CMAKE_SYSROOT}")
set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY BOTH)
set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE BOTH)