diff --git a/recipes-graphics/libgles/sunxi-mali_git.bb b/recipes-graphics/libgles/sunxi-mali_git.bb index 99ecff3..97e3980 100644 --- a/recipes-graphics/libgles/sunxi-mali_git.bb +++ b/recipes-graphics/libgles/sunxi-mali_git.bb @@ -20,6 +20,12 @@ SRC_URI = "gitsm://github.com/linux-sunxi/sunxi-mali.git" S = "${WORKDIR}/git" +DEPENDS = "libdrm dri2proto libump" + +PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'x11', 'x11', '', d)} ${@base_contains('DISTRO_FEATURES', 'wayland', 'wayland', '', d)}" +PACKAGECONFIG[wayland] = "EGL_TYPE=framebuffer,,," +PACKAGECONFIG[x11] = "EGL_TYPE=x11,,virtual/libx11 libxau libxdmcp libdri2," + do_configure() { DESTDIR=${D}/ VERSION=r3p0 ABI=armhf EGL_TYPE=x11 make config }