diff options
author | matt-hammond-bbc <matt.hammond@bbc.co.uk> | 2021-04-15 14:24:58 +0100 |
---|---|---|
committer | Andrei Gherzan <andrei@gherzan.com> | 2021-06-08 15:39:02 +0100 |
commit | f0c75016f06c0395d1e76fde0ef1beb71eaf404a (patch) | |
tree | 7a89249decf0c10ee8ba7bbc34ed99d2bbe6a761 | |
parent | a59f771a708bd9b83029128138ba93ca889cc40d (diff) | |
download | meta-raspberrypi-f0c75016f06c0395d1e76fde0ef1beb71eaf404a.tar.gz |
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>
-rw-r--r-- | recipes-graphics/libva/libva_%.bbappend | 3 |
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 @@ | |||
1 | # when using userland graphic KHR/khrplatform.h is provided by userland but virtual/libgl is provided by mesa-gl where | ||
2 | # we explicitly delete KHR/khrplatform.h since its already coming from userland package | ||
3 | DEPENDS_append_rpi = " ${@bb.utils.contains('MACHINE_FEATURES', 'vc4graphics', '', 'userland', d)}" | ||