diff options
Diffstat (limited to 'meta-amd-bsp/recipes-graphics/mesa/mesa_git.bb')
-rw-r--r-- | meta-amd-bsp/recipes-graphics/mesa/mesa_git.bb | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/meta-amd-bsp/recipes-graphics/mesa/mesa_git.bb b/meta-amd-bsp/recipes-graphics/mesa/mesa_git.bb new file mode 100644 index 00000000..e0d71538 --- /dev/null +++ b/meta-amd-bsp/recipes-graphics/mesa/mesa_git.bb @@ -0,0 +1,19 @@ +require ${BPN}.inc + +S = "${WORKDIR}/git" + +SRCREV = "e9cf8c1d3010e9eada5a7921239ad7895f249b5c" +SRC_URI = "git://gitlab.freedesktop.org/mesa/mesa.git;branch=master;protocol=https \ + file://0001-meson.build-check-for-all-linux-host_os-combinations.patch \ + file://0002-meson.build-make-TLS-GLX-optional-again.patch \ + file://0003-Allow-enable-DRI-without-DRI-drivers.patch \ + file://0001-radeonsi-disabling-the-displayable-DCC-on-Raven-Ridg.patch \ + " + +#because we cannot rely on the fact that all apps will use pkgconfig, +#make eglplatform.h independent of MESA_EGL_NO_X11_HEADER +do_install_append() { + if ${@bb.utils.contains('PACKAGECONFIG', 'egl', 'true', 'false', d)}; then + sed -i -e 's/^#if defined(MESA_EGL_NO_X11_HEADERS)$/#if defined(MESA_EGL_NO_X11_HEADERS) || ${@bb.utils.contains('PACKAGECONFIG', 'x11', '0', '1', d)}/' ${D}${includedir}/EGL/eglplatform.h + fi +} |