diff options
| -rw-r--r-- | meta-oe/recipes-multimedia/libopus/libopus_1.1.3.bb | 8 |
1 files 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 dd6789dc01..50d49370ba 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 = " \ | |||
| 28 | --enable-custom-modes \ | 28 | --enable-custom-modes \ |
| 29 | " | 29 | " |
| 30 | 30 | ||
| 31 | # ne10 is available only for armv7a and aarch64 | ||
| 32 | DEPENDS_append_aarch64 = " ne10" | ||
| 33 | DEPENDS_append_armv7a = " ne10" | ||
| 34 | |||
| 31 | python () { | 35 | python () { |
| 32 | if d.getVar('TARGET_FPU') in [ 'soft' ]: | 36 | if d.getVar('TARGET_FPU') in [ 'soft' ]: |
| 33 | d.appendVar('PACKAGECONFIG', ' fixed-point') | 37 | d.appendVar('PACKAGECONFIG', ' fixed-point') |
| 34 | |||
| 35 | # Ne10 is only available for armv7 and aarch64 | ||
| 36 | if any((t.startswith('armv7') or t.startswith('aarch64')) for t in d.getVar('TUNE_FEATURES').split()): | ||
| 37 | d.appendVar('DEPENDS', ' ne10') | ||
| 38 | } | 38 | } |
| 39 | 39 | ||
| 40 | # Fails to build with thumb-1 (qemuarm) | 40 | # Fails to build with thumb-1 (qemuarm) |
