From f0c75016f06c0395d1e76fde0ef1beb71eaf404a Mon Sep 17 00:00:00 2001 From: matt-hammond-bbc Date: Thu, 15 Apr 2021 14:24:58 +0100 Subject: libva: Fix for when using `userland` https://github.com/agherzan/meta-raspberrypi/issues/842 Fixes failing build of libva when using `userland` recipe. Same as: https://github.com/agherzan/meta-raspberrypi/commit/ac16b0e9d713bcc4ee0e976259064d1a318a5aac Signed-off-by: Matt Hammond Signed-off-by: Khem Raj --- recipes-graphics/libva/libva_%.bbappend | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 recipes-graphics/libva/libva_%.bbappend diff --git a/recipes-graphics/libva/libva_%.bbappend b/recipes-graphics/libva/libva_%.bbappend new file mode 100644 index 0000000..56ff421 --- /dev/null +++ b/recipes-graphics/libva/libva_%.bbappend @@ -0,0 +1,3 @@ +# when using userland graphic KHR/khrplatform.h is provided by userland but virtual/libgl is provided by mesa-gl where +# we explicitly delete KHR/khrplatform.h since its already coming from userland package +DEPENDS_append_rpi = " ${@bb.utils.contains('MACHINE_FEATURES', 'vc4graphics', '', 'userland', d)}" -- cgit v1.2.3-54-g00ecf