diff options
author | Max Krummenacher <max.krummenacher@toradex.com> | 2016-08-09 16:54:38 +0200 |
---|---|---|
committer | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2016-09-29 06:35:15 +0200 |
commit | 617e615193dd297f1cb5e4be29677c7e24803d97 (patch) | |
tree | d638b709c0da5a275a08d618c4339c34741ebe1a /openembedded-layer/recipes-multimedia/webm/libvpx_%.bbappend | |
parent | 71a8f744943ae4358ea414d743be8ae8cfceb9fa (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_%.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 " |