diff options
Diffstat (limited to 'openembedded-layer/recipes-multimedia/webm/libvpx_%.bbappend')
-rw-r--r-- | openembedded-layer/recipes-multimedia/webm/libvpx_%.bbappend | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/openembedded-layer/recipes-multimedia/webm/libvpx_%.bbappend b/openembedded-layer/recipes-multimedia/webm/libvpx_%.bbappend new file mode 100644 index 0000000..b5ebaf0 --- /dev/null +++ b/openembedded-layer/recipes-multimedia/webm/libvpx_%.bbappend @@ -0,0 +1,10 @@ +PACKAGE_ARCH = "${MACHINE_ARCH}" + +#T20 does not have neon, but the armv7-linux-gcc assumes that the target has a neon unit +VPXTARGET_armv7a_tegra2 = "armv6-linux-gcc" +VPXTARGET_armv7a_qemuarm = "armv6-linux-gcc" + +CFLAGS_append_tegra3 = " -mfpu=neon -funsafe-math-optimizations -ftree-vectorize " +CFLAGS_append_mx6 = " -mfpu=neon -funsafe-math-optimizations -ftree-vectorize " +CFLAGS_append_mx7 = " -mfpu=neon -funsafe-math-optimizations -ftree-vectorize " +CONFIGUREOPTS += " --enable-runtime-cpu-detect " |