[meta-oe,3/4] libva: make buildable for native and nativesdk

Message ID 20220316170709.2924162-3-f_l_k@t-online.de
State New
Headers show
Series [meta-oe,1/4] xf86-video-intel: add dependencies; remove dri1 | expand

Commit Message

Markus Volk March 16, 2022, 5:07 p.m. UTC
This prevents an error if trying to add "va" to mesa PACKAGECONFIG

Signed-off-by: Markus Volk <f_l_k@t-online.de>
---
 meta/recipes-graphics/libva/libva.inc | 2 ++
 1 file changed, 2 insertions(+)

Patch

diff --git a/meta/recipes-graphics/libva/libva.inc b/meta/recipes-graphics/libva/libva.inc
index 8ebec8159a..148bb03b5f 100644
--- a/meta/recipes-graphics/libva/libva.inc
+++ b/meta/recipes-graphics/libva/libva.inc
@@ -33,3 +33,5 @@  PACKAGECONFIG[glx] = "-Dwith_glx=yes,-Dwith_glx=no,virtual/mesa"
 
 PACKAGECONFIG[wayland] = "-Dwith_wayland=yes,-Dwith_wayland=no,wayland-native wayland"
 
+BBCLASSEXTEND = "native nativesdk"
+