diff options
author | Khem Raj <raj.khem@gmail.com> | 2020-08-27 20:58:36 -0700 |
---|---|---|
committer | Andrei Gherzan <andrei@gherzan.ro> | 2020-11-04 12:09:34 +0000 |
commit | f922faa30011bf652e937fc86a038667eeec6a38 (patch) | |
tree | f13ec9f6d53333ef1b92e9db704314e804724f34 | |
parent | ac16b0e9d713bcc4ee0e976259064d1a318a5aac (diff) | |
download | meta-raspberrypi-f922faa30011bf652e937fc86a038667eeec6a38.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)}" | ||