You'll need to setup a cross compiler, and then compile. I have a few systems around I can help test if you build a usable package.
Some cross compiling/setup examples.
http://www.acmesystems.it/arm9_toolchain
https://developer.ubuntu.com/en/snappy/guides/cross-build/
http://events.linuxfoundation.org/sites/events/files/slides/Shuah_Khan_cross_compile_linux.pdf
maybe you can execute the operation similar to this, used as an example only.
http://docs.opencv.org/2.4/doc/tutorials/introduction/crosscompilation/arm_crosscompile_with_cmake.html