summaryrefslogtreecommitdiff
path: root/openembedded-layer/recipes-multimedia/webm/libvpx_%.bbappend
diff options
context:
space:
mode:
authorMax Krummenacher <max.krummenacher@toradex.com>2016-08-09 16:54:38 +0200
committerMarcel Ziswiler <marcel.ziswiler@toradex.com>2016-09-29 06:35:15 +0200
commit617e615193dd297f1cb5e4be29677c7e24803d97 (patch)
treed638b709c0da5a275a08d618c4339c34741ebe1a /openembedded-layer/recipes-multimedia/webm/libvpx_%.bbappend
parent71a8f744943ae4358ea414d743be8ae8cfceb9fa (diff)
meta-openembedded layer bbappends
Move the appends on recipe's which are not in an essential required layer into a target layer specific directory and add them only if said layer is active in build/conf/bblayers.conf. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-by: Stefan Agner <stefan.agner@toradex.com>
Diffstat (limited to 'openembedded-layer/recipes-multimedia/webm/libvpx_%.bbappend')
-rw-r--r--openembedded-layer/recipes-multimedia/webm/libvpx_%.bbappend10
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 "