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-05-18 14:58:43 +0100 |
commit | b6018183015228dcf50af382736ffbdea4a85635 (patch) | |
tree | def89cf8fa80c728330d102297d3391fc8cab151 | |
parent | e4ab480630d7651f95df0c740dd71835503e16d6 (diff) | |
download | meta-raspberrypi-b6018183015228dcf50af382736ffbdea4a85635.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)}" | ||