Cross S01 Libvpx [QUICK × EDITION]
Now run a decode test on the S01:
./vpxdec example.vp9 -o output.y4m If you see Using CPU: ARM NEON , pour yourself a coffee. You just successfully tricked a complex x86 build system into emitting perfect NEON assembly for a low-power ARM core. Cross-compiling libvpx isn't hard because of the codec. It's hard because the build system wants to test CPU capabilities, and cross-compilation prevents that. cross s01 libvpx
Remember:
Explicitly disable everything your target doesn't have. Now run a decode test on the S01:
Run file libvpx.so :
export CC=aarch64-linux-gnu-gcc export CXX=aarch64-linux-gnu-g++ export AR=aarch64-linux-gnu-ar export AS=aarch64-linux-gnu-as Then reconfigure. The build system needs to see the cross-tools for assembly. After make and make install DESTDIR=./rootfs , copy the .so files to your S01. cross s01 libvpx