summaryrefslogtreecommitdiffstats
path: root/fluent-bit/cmake/armadillo-iot.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'fluent-bit/cmake/armadillo-iot.cmake')
-rw-r--r--fluent-bit/cmake/armadillo-iot.cmake13
1 files changed, 13 insertions, 0 deletions
diff --git a/fluent-bit/cmake/armadillo-iot.cmake b/fluent-bit/cmake/armadillo-iot.cmake
new file mode 100644
index 000000000..26d9c91fb
--- /dev/null
+++ b/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)