diff options
author | Khem Raj <raj.khem@gmail.com> | 2020-08-27 20:58:36 -0700 |
---|---|---|
committer | Andrei Gherzan <andrei@gherzan.ro> | 2020-08-28 14:59:43 +0100 |
commit | 968dcd3f40fe48c83867432afc1aab9a62cc108b (patch) | |
tree | d72317b3034020a579c95264d8fdbac4f7641ba3 | |
parent | 979fb504c30be19eb4867eb612e2187a66265775 (diff) | |
download | meta-raspberrypi-968dcd3f40fe48c83867432afc1aab9a62cc108b.tar.gz |
libsdl2: Add userland dependency when not using vc4graphics
Needed to provide KHR/khrplatform.h header
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r-- | recipes-graphics/libsdl2/libsdl2_%.bbappend | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/recipes-graphics/libsdl2/libsdl2_%.bbappend b/recipes-graphics/libsdl2/libsdl2_%.bbappend new file mode 100644 index 0000000..cb9c24e --- /dev/null +++ b/recipes-graphics/libsdl2/libsdl2_%.bbappend | |||
@@ -0,0 +1,5 @@ | |||
1 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | ||
2 | |||
3 | # when using userland graphic KHR/khrplatform.h is provided by userland but virtual/libgl is provided by mesa-gl where | ||
4 | # we explicitly delete KHR/khrplatform.h since its already coming from userland package | ||
5 | DEPENDS_append_rpi = " ${@bb.utils.contains('MACHINE_FEATURES', 'vc4graphics', '', 'userland', d)}" | ||