summaryrefslogtreecommitdiff
path: root/toolchain.cmake
diff options
context:
space:
mode:
authorDavid Marcaccini <david.marcaccini@multitech.com>2019-04-29 13:33:15 -0500
committerDavid Marcaccini <david.marcaccini@multitech.com>2019-04-29 13:33:15 -0500
commit92b102013fe546a85b309bacc16736c0b2a37cb7 (patch)
treee1d1475b6afc5e9e1c2434f5f318ef63caf5926a /toolchain.cmake
downloadmtsazure-92b102013fe546a85b309bacc16736c0b2a37cb7.tar.gz
mtsazure-92b102013fe546a85b309bacc16736c0b2a37cb7.tar.bz2
mtsazure-92b102013fe546a85b309bacc16736c0b2a37cb7.zip
Initial commit of mtsazure codebase
Diffstat (limited to 'toolchain.cmake')
-rw-r--r--toolchain.cmake12
1 files changed, 12 insertions, 0 deletions
diff --git a/toolchain.cmake b/toolchain.cmake
new file mode 100644
index 0000000..8a51408
--- /dev/null
+++ b/toolchain.cmake
@@ -0,0 +1,12 @@
+INCLUDE(CMakeForceCompiler)
+
+SET(CMAKE_SYSTEM_NAME Linux)
+SET(CMAKE_SYSTEM_PROCESSOR ARM)
+
+SET(CMAKE_SYSTEM_VERSION 1)
+SET(CROSS_COMPILE arm-mlinux-linux-eabi-)
+
+SET(CMAKE_FIND_ROOT_PATH $ENV{OECORE_TARGET_SYSROOT})
+SET(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
+SET(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
+SET(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)