aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-graphics
diff options
context:
space:
mode:
authormatt-hammond-bbc <matt.hammond@bbc.co.uk>2021-04-15 14:24:58 +0100
committerAndrei Gherzan <andrei@gherzan.com>2021-05-18 14:58:43 +0100
commitb6018183015228dcf50af382736ffbdea4a85635 (patch)
treedef89cf8fa80c728330d102297d3391fc8cab151 /recipes-graphics
parente4ab480630d7651f95df0c740dd71835503e16d6 (diff)
downloadmeta-raspberrypi-b6018183015228dcf50af382736ffbdea4a85635.tar.gz
meta-raspberrypi-b6018183015228dcf50af382736ffbdea4a85635.tar.bz2
meta-raspberrypi-b6018183015228dcf50af382736ffbdea4a85635.zip
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 <matt.hammond@bbc.co.uk> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'recipes-graphics')
-rw-r--r--recipes-graphics/libva/libva_%.bbappend3
1 files changed, 3 insertions, 0 deletions
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)}"