Skip to contentSkip to conversation

libopus: Make ne10 dependency to be target specific for arm/arm64

PATCH New Khem Raj 1 participant 1 message Dec 15, 2025

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 libopus: Make ne10 dependency to be target specific for arm/arm64

This ends up in the native/nativesdk depchains especially when building on arm64 build hosts.

Fixes errors e.g.

WARNING: Nothing RPROVIDES 'nativesdk-libopus-dev' (but virtual:nativesdk:/srv/build/yoe/sources/meta-openembedded/meta-oe/recipes-multimedia/libopus/libopus_1.5.2.bb RDEPENDS on or otherwise requires it) No eligible RPROVIDERs exist for 'nativesdk-libopus-dev'

---
 meta-oe/recipes-multimedia/libopus/libopus_1.5.2.bb | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
meta-oe/recipes-multimedia/libopus/libopus_1.5.2.bb +3 -3
index 642f34f71d..9f1a79ace2 100644
@@ -28,9 +28,9 @@ EXTRA_OECONF = " \
 "
 
 # ne10 is available only for armv7a, armv7ve and aarch64
-DEPENDS:append:aarch64 = " ne10"
-DEPENDS:append:armv7a = "${@bb.utils.contains("TUNE_FEATURES","neon"," ne10","",d)}"
-DEPENDS:append:armv7ve = "${@bb.utils.contains("TUNE_FEATURES","neon"," ne10","",d)}"
+DEPENDS:append:class-target:aarch64 = " ne10"
+DEPENDS:append:class-target:armv7a = "${@bb.utils.contains("TUNE_FEATURES","neon"," ne10","",d)}"
+DEPENDS:append:class-target:armv7ve = "${@bb.utils.contains("TUNE_FEATURES","neon"," ne10","",d)}"
 
 python () {
     if d.getVar('TARGET_FPU') in [ 'soft' ]: