@Kit-Bishop After installing/configuring the SDK I now have the following problem: (put it here for future reference) vagrant@ubuntu-xenial64-server:~/openwrt/custom/luv$ WITH_LUA_ENGINE=Lua LUA_BUILD_TYPE=System WITH_SHARED_LIBUV=ON BUILD_MODULE=OFF BUILD_SHARED_LIBS=ON STAGING_DIR=/home/vagrant/openwrt/sdk/OpenWrt-SDK-ar71xx-generic_gcc-4.8-linaro_uClibc- make cmake -H. -Bbuild -DBUILD_MODULE=OFF -DBUILD_SHARED_LIBS=ON -DWITH_SHARED_LIBUV=ON -DWITH_LUA_ENGINE=Lua -DLUA_BUILD_TYPE=System -DCMAKE_TOOLCHAIN_FILE=~/openwrt/openwrt.cmake -DWITH_AMALG=OFF System is unknown to cmake, create: Platform/AR71xx to use this system, please send your config file to cmake@www.cmake.org so it can be added to cmake Your CMakeCache.txt file was copied to CopyOfCMakeCache.txt. Please send that file to cmake@www.cmake.org. -- Could NOT find LIBUV (missing: LIBUV_LIBRARIES LIBUV_INCLUDE_DIR) -- Could NOT find Lua (missing: LUA_LIBRARIES LUA_INCLUDE_DIR) CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: LIBUV_LIBRARIES linked by target "luv" in directory /home/vagrant/openwrt/custom/luv -- Configuring incomplete, errors occurred! See also "/home/vagrant/openwrt/custom/luv/build/CMakeFiles/CMakeOutput.log". See also "/home/vagrant/openwrt/custom/luv/build/CMakeFiles/CMakeError.log". Makefile:37: recipe for target 'build/Makefile' failed make: *** [build/Makefile] Error 1 I am sure it is just setting those missing variables, but I have no clue where to find them from. I changed the cmake file into: # this one is important SET(CMAKE_SYSTEM_NAME AR7xxx) #this one not so much SET(CMAKE_SYSTEM_VERSION 1) # specify the cross compiler SET(CMAKE_C_COMPILER /home/vagrant/openwrt/sdk/OpenWrt-SDK-ar71xx-generic_gcc-4.8-linaro_uClibc- SET(CMAKE_CXX_COMPILER /home/vagrant/openwrt/sdk/OpenWrt-SDK-ar71xx-generic_gcc-4.8-linaro_uClibc- # where is the target environment SET(CMAKE_FIND_ROOT_PATH /home/vagrant/openwrt/sdk/OpenWrt-SDK-ar71xx-generic_gcc-4.8-linaro_uClibc- # search for programs in the build host directories SET(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER) # for libraries and headers in the target directories SET(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY) SET(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)