summaryrefslogtreecommitdiffstats
path: root/src/fluent-bit/cmake/armadillo-iot.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'src/fluent-bit/cmake/armadillo-iot.cmake')
-rw-r--r--src/fluent-bit/cmake/armadillo-iot.cmake13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/fluent-bit/cmake/armadillo-iot.cmake b/src/fluent-bit/cmake/armadillo-iot.cmake
new file mode 100644
index 000000000..26d9c91fb
--- /dev/null
+++ b/src/fluent-bit/cmake/armadillo-iot.cmake
@@ -0,0 +1,13 @@
+SET(HOST arm-linux)
+
+SET(CROSS_PREFIX ${HOST}-)
+SET(CROSS_TOOLCHAIN_PATH /home/travis/build/fluent/fluent-bit/ksz9692/${HOST})
+
+SET(CMAKE_SYSTEM_NAME Linux)
+SET(CMAKE_C_COMPILER ${CROSS_PREFIX}gcc)
+SET(CMAKE_CXX_COMPILER ${CROSS_PREFIX}g++)
+
+SET(CMAKE_FIND_ROOT_PATH ${CROSS_TOOLCHAIN_PATH})
+SET(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
+SET(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
+SET(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)