Applying ./patches/0001-base.patch using plaintext: 
patching file CMakeLists.txt
patching file api/mraa/types.h
patching file include/mraa_internal.h
patching file src/CMakeLists.txt
patching file src/i2c/i2c.c
patching file src/mraa.c
patching file src/uart/uart.c

Applying ./patches/0002-add-mips-support.patch using plaintext: 
patching file include/mips/mediatek.h
patching file src/mips/CMakeLists.txt
patching file src/mips/mediatek.c
patching file src/mips/mips.c

Applying ./patches/0003-uart.patch using plaintext: 
patching file src/uart/uart.c

Applying ./patches/0004-fixes.patch using plaintext: 
patching file src/mips/mediatek.c
patching file src/gpio/gpio.c
-- The C compiler identification is GNU 7.1.1
-- The CXX compiler identification is GNU 7.1.1
-- Check for working C compiler: /builder/shared-workdir/build/sdk/staging_dir/toolchain-arc_arc700_gcc-arc-2017.09-release_uClibc/bin/arc-openwrt-linux-uclibc-gcc
-- Check for working C compiler: /builder/shared-workdir/build/sdk/staging_dir/toolchain-arc_arc700_gcc-arc-2017.09-release_uClibc/bin/arc-openwrt-linux-uclibc-gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /builder/shared-workdir/build/sdk/staging_dir/toolchain-arc_arc700_gcc-arc-2017.09-release_uClibc/bin/arc-openwrt-linux-uclibc-g++
-- Check for working CXX compiler: /builder/shared-workdir/build/sdk/staging_dir/toolchain-arc_arc700_gcc-arc-2017.09-release_uClibc/bin/arc-openwrt-linux-uclibc-g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - found
-- Found Threads: TRUE  
INFO - libmraa Version v0.8.1
INFO - Override arch is arc
CMake Error at CMakeLists.txt:85 (message):
  Only x86, arm and mips platforms currently supported


-- Configuring incomplete, errors occurred!
See also "/builder/shared-workdir/build/sdk/build_dir/target-arc_arc700_uClibc/libmraa-0.8.1/CMakeFiles/CMakeOutput.log".
Makefile:52: recipe for target '/builder/shared-workdir/build/sdk/build_dir/target-arc_arc700_uClibc/libmraa-0.8.1/.configured_68b329da9893e34099c7d8ad5cb9c940' failed
make[3]: *** [/builder/shared-workdir/build/sdk/build_dir/target-arc_arc700_uClibc/libmraa-0.8.1/.configured_68b329da9893e34099c7d8ad5cb9c940] Error 1
time: package/feeds/packages/libmraa/compile#1.39#0.87#3.24