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