Message ID | 20250312150824.6579-7-reatmon@ti.com |
---|---|
State | New |
Headers | show |
Series | Add COMPATIBLE_MACHINEs | expand |
diff --git a/meta-arago-extras/recipes-multimedia/nnstreamer/nnstreamer_2.4.0.bb b/meta-arago-extras/recipes-multimedia/nnstreamer/nnstreamer_2.4.0.bb index 50d16d29..6e142f4e 100644 --- a/meta-arago-extras/recipes-multimedia/nnstreamer/nnstreamer_2.4.0.bb +++ b/meta-arago-extras/recipes-multimedia/nnstreamer/nnstreamer_2.4.0.bb @@ -9,6 +9,12 @@ SRCREV = "7c57c288250578cad598f065b6fda6c0ff720cf9" S = "${WORKDIR}/git" +# Only compatible with armv7a, armv7ve, and aarch64 +COMPATIBLE_MACHINE = "(^$)" +COMPATIBLE_MACHINE:aarch64 = "(.*)" +COMPATIBLE_MACHINE:armv7a = "${@bb.utils.contains("TUNE_FEATURES","neon","(.*)","(^$)",d)}" +COMPATIBLE_MACHINE:armv7ve = "${@bb.utils.contains("TUNE_FEATURES","neon","(.*)","(^$)",d)}" + inherit meson pkgconfig DEPENDS = " \
The onnxruntime recipe has a COMPATIBLE_MACHINE setting that limits this to just armv7a and aarch64. Since this package depends on it, we need the same settings. Signed-off-by: Ryan Eatmon <reatmon@ti.com> --- .../recipes-multimedia/nnstreamer/nnstreamer_2.4.0.bb | 6 ++++++ 1 file changed, 6 insertions(+)