[oe-commits] [meta-openembedded] 30/32: libopus: use armv7a, aarch64 overrides when adding ne10 dependency

git at git.openembedded.org git at git.openembedded.org
Fri Apr 26 17:21:12 UTC 2019


This is an automated email from the git hooks/post-receive script.

khem pushed a commit to branch master-next
in repository meta-openembedded.

commit 4d872313bba41ce72d8a44b9ec72f5b0e1dd4f6c
Author: Martin Jansa <martin.jansa at gmail.com>
AuthorDate: Thu Apr 25 09:13:41 2019 +0000

    libopus: use armv7a, aarch64 overrides when adding ne10 dependency
    
    * to match what ne10 recipe does now
    * fixes:
      ERROR: Nothing PROVIDES 'ne10' (but meta-oe/recipes-multimedia/libopus/libopus_1.1.3.bb DEPENDS on or otherwise requires it)
      ne10 was skipped: incompatible with machine qemuarm (not in COMPATIBLE_MACHINE)
      ERROR: Required build target 'meta-world-pkgdata' has no buildable providers.
      Missing or unbuildable dependency chain was: ['meta-world-pkgdata', 'libopus', 'ne10']
    
    Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
    Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
 meta-oe/recipes-multimedia/libopus/libopus_1.1.3.bb | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/meta-oe/recipes-multimedia/libopus/libopus_1.1.3.bb b/meta-oe/recipes-multimedia/libopus/libopus_1.1.3.bb
index dd6789d..50d4937 100644
--- a/meta-oe/recipes-multimedia/libopus/libopus_1.1.3.bb
+++ b/meta-oe/recipes-multimedia/libopus/libopus_1.1.3.bb
@@ -28,13 +28,13 @@ EXTRA_OECONF = " \
     --enable-custom-modes \
 "
 
+# ne10 is available only for armv7a and aarch64
+DEPENDS_append_aarch64 = " ne10"
+DEPENDS_append_armv7a = " ne10"
+
 python () {
     if d.getVar('TARGET_FPU') in [ 'soft' ]:
         d.appendVar('PACKAGECONFIG', ' fixed-point')
-
-    # Ne10 is only available for armv7 and aarch64
-    if any((t.startswith('armv7') or t.startswith('aarch64')) for t in d.getVar('TUNE_FEATURES').split()):
-        d.appendVar('DEPENDS', ' ne10')
 }
 
 # Fails to build with thumb-1 (qemuarm)

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list