aboutsummaryrefslogtreecommitdiffstats
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-06-08 15:39:02 +0100
commitf0c75016f06c0395d1e76fde0ef1beb71eaf404a (patch)
tree7a89249decf0c10ee8ba7bbc34ed99d2bbe6a761
parenta59f771a708bd9b83029128138ba93ca889cc40d (diff)
downloadmeta-raspberrypi-dunfell.tar.gz
meta-raspberrypi-dunfell.tar.bz2
meta-raspberrypi-dunfell.zip
libva: Fix for when using `userland`dunfell
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>
-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)}"