aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-graphics
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2020-12-02 15:22:20 -0800
committerAndrei Gherzan <andrei@gherzan.ro>2020-12-04 11:18:40 +0000
commit1ae52a743c077565e5d4e2f49ede90bbdff45fbf (patch)
tree5d062f74c28347d2051a08a76c114f412bc9fd69 /recipes-graphics
parent80bcc2e0edd65cc3ff4958a973f3d27cf239bb46 (diff)
downloadmeta-raspberrypi-master.tar.gz
meta-raspberrypi-master.tar.bz2
meta-raspberrypi-master.zip
libglu: Fix build with userland graphicsHEADmaster
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'recipes-graphics')
-rw-r--r--recipes-graphics/mesa/libglu_%.bbappend3
1 files changed, 3 insertions, 0 deletions
diff --git a/recipes-graphics/mesa/libglu_%.bbappend b/recipes-graphics/mesa/libglu_%.bbappend
new file mode 100644
index 0000000..56ff421
--- /dev/null
+++ b/recipes-graphics/mesa/libglu_%.bbappend
@@ -0,0 +1,3 @@
+# when using userland graphic KHR/khrplatform.h is provided by userland but virtual/libgl is provided by mesa-gl where
+# we explicitly delete KHR/khrplatform.h since its already coming from userland package
+DEPENDS_append_rpi = " ${@bb.utils.contains('MACHINE_FEATURES', 'vc4graphics', '', 'userland', d)}"