diff options
Diffstat (limited to 'cmake/nestedvm-toolchain.cmake')
| -rw-r--r-- | cmake/nestedvm-toolchain.cmake | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/cmake/nestedvm-toolchain.cmake b/cmake/nestedvm-toolchain.cmake new file mode 100644 index 0000000..337410c --- /dev/null +++ b/cmake/nestedvm-toolchain.cmake @@ -0,0 +1,10 @@ +SET(CMAKE_SYSTEM_NAME NestedVM) +SET(CMAKE_SYSTEM_PROCESSOR mips) + +SET(CMAKE_C_COMPILER ${NESTEDVM}/upstream/install/bin/mips-unknown-elf-gcc) + +SET(CMAKE_FIND_ROOT_PATH ${NESTEDVM}/upstream/install) +SET(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER) +SET(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY) +SET(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY) + |