mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-04 02:31:27 +00:00
libvpx: fix VPXTARGET for non-neon armv7a
The compiler might use non-supported instructions, as the build config requires armv7-linux-gcc targets to have NEON[1] and drops the mtune value[2], which also might use d32 registers on d16 cpus. Falling back to the generic-gnu target respects the toolchain-set values and should therefore be used instead. [1] https://chromium.googlesource.com/webm/libvpx/+/626ff35955c2c35b806b3e0ecf551a1a8611cdbf/build/make/configure.sh#955 [2] https://chromium.googlesource.com/webm/libvpx/+/626ff35955c2c35b806b3e0ecf551a1a8611cdbf/build/make/configure.sh#973 Signed-off-by: Benjamin Bara <benjamin.bara@skidata.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -26,7 +26,7 @@ export LD = "${CC}"
|
|||||||
|
|
||||||
VPXTARGET:armv5te = "armv5te-linux-gcc"
|
VPXTARGET:armv5te = "armv5te-linux-gcc"
|
||||||
VPXTARGET:armv6 = "armv6-linux-gcc"
|
VPXTARGET:armv6 = "armv6-linux-gcc"
|
||||||
VPXTARGET:armv7a = "armv7-linux-gcc"
|
VPXTARGET:armv7a = "${@bb.utils.contains("TUNE_FEATURES","neon","armv7-linux-gcc","generic-gnu",d)}"
|
||||||
VPXTARGET ?= "generic-gnu"
|
VPXTARGET ?= "generic-gnu"
|
||||||
|
|
||||||
CONFIGUREOPTS = " \
|
CONFIGUREOPTS = " \
|
||||||
|
|||||||
Reference in New Issue
Block a user