summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2020-08-27 20:58:36 -0700
committerAndrei Gherzan <andrei@gherzan.ro>2020-08-28 14:59:43 +0100
commit968dcd3f40fe48c83867432afc1aab9a62cc108b (patch)
treed72317b3034020a579c95264d8fdbac4f7641ba3
parent979fb504c30be19eb4867eb612e2187a66265775 (diff)
downloadmeta-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_%.bbappend5
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 @@
1FILESEXTRAPATHS_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
5DEPENDS_append_rpi = " ${@bb.utils.contains('MACHINE_FEATURES', 'vc4graphics', '', 'userland', d)}"