ne10, libopus: add armv7ve override as well

* fix the override in packagegroup-meta-oe.bb
* alllow building ne10 for armv7ve (e.g. Cortex-A15)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Martin Jansa 2019-05-22 23:28:35 +00:00 committed by Khem Raj
parent 2e59ec2d28
commit 321a62261d
3 changed files with 7 additions and 3 deletions

View File

@ -220,7 +220,8 @@ RDEPENDS_packagegroup-meta-oe-shells ="\
NE10 = ""
NE10_aarch64 = "ne10"
NE10_arm7 = "ne10"
NE10_armv7a = "ne10"
NE10_armv7ve = "ne10"
RDEPENDS_packagegroup-meta-oe-support ="\
anthy asio atop augeas avro-c bdwgc frame grail \

View File

@ -28,9 +28,10 @@ EXTRA_OECONF = " \
--enable-custom-modes \
"
# ne10 is available only for armv7a and aarch64
# ne10 is available only for armv7a, armv7ve and aarch64
DEPENDS_append_aarch64 = " ne10"
DEPENDS_append_armv7a = " ne10"
DEPENDS_append_armv7ve = " ne10"
python () {
if d.getVar('TARGET_FPU') in [ 'soft' ]:

View File

@ -15,13 +15,15 @@ PV .= "gitr+${SRCPV}"
inherit cmake
# Incompatible with archs other than armv7 and aarch64
# Incompatible with archs other than armv7, armv7ve and aarch64
COMPATIBLE_MACHINE = "(^$)"
COMPATIBLE_MACHINE_aarch64 = "(.*)"
COMPATIBLE_MACHINE_armv7a = "(.*)"
COMPATIBLE_MACHINE_armv7ve = "(.*)"
NE10_TARGET_ARCH = ""
NE10_TARGET_ARCH_aarch64 = "aarch64"
NE10_TARGET_ARCH_armv7a = "armv7"
NE10_TARGET_ARCH_armv7ve = "armv7"
EXTRA_OECMAKE = '-DGNULINUX_PLATFORM=ON -DNE10_BUILD_SHARED=ON -DNE10_LINUX_TARGET_ARCH="${NE10_TARGET_ARCH}"'