Initial commit
This commit is contained in:
@@ -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)}"
|
||||
@@ -0,0 +1,3 @@
|
||||
# mesa-demos userland driver doesn't provide libgles1 and the EGL headers it provides break the mesa-demos build.
|
||||
# And enabling the `wayland` option without enabling `egl` is useless.
|
||||
PACKAGECONFIG:remove:rpi = "${@bb.utils.contains('MACHINE_FEATURES', 'vc4graphics', '', 'egl gles1 wayland', d)}"
|
||||
@@ -0,0 +1,8 @@
|
||||
PACKAGECONFIG:append:rpi = " gbm"
|
||||
PROVIDES:append:rpi = " virtual/libgbm"
|
||||
|
||||
GALLIUMDRIVERS:append:rpi = ",swrast"
|
||||
|
||||
do_install:append:rpi() {
|
||||
rm -rf ${D}${includedir}/KHR/khrplatform.h
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
# DRI3 note:
|
||||
# With oe-core commit 8509e2e1a87578882b71948ccef3b50ccf1228b3 dri3 is set
|
||||
# as default. To state out clearly that Raspi needs dri3 and to avoid surprises
|
||||
# in case oe-core changes this default, we set dri3 explicitly.
|
||||
PACKAGECONFIG:append:rpi = " gallium vc4 v3d kmsro ${@bb.utils.contains('DISTRO_FEATURES', 'x11 opengl', 'x11 dri3', '', d)} ${@bb.utils.contains('DISTRO_FEATURES', 'vulkan', 'vulkan broadcom', '', d)}"
|
||||
DRIDRIVERS:class-target:rpi = ""
|
||||
Reference in New Issue
Block a user