In https://cgit.freedesktop.org/mesa/mesa/commit/?id=41a0acd6a149ec9f47ea527ad08a2b29bf1ee6b2, mesa removed the imx gallium driver in favor of kmsro. When PACKAGECONFIG contains "imx", the configure script fails with configure: error: Unknown Gallium driver: imx
I have made the 19.0.1 backwards compatible by GALLIUMDRIVERS_append = ",kmsro,vc4" (vc4 is a prerequisite for kmsro) and applying the attached patch which looks like an oversight in the above commit.
Created attachment 4517 [details] mesa commit oversight
Alex, can you work on this?
I have sent the PACKAGECONFIG fix: http://lists.openembedded.org/pipermail/openembedded-core/2019-May/282373.html As mesa has just been switched from autotools to meson, please verify if any additional fixing in mesa code is required.
I'd guess the patch on the mailing list won't work. When I tried just adding kmsro to the drivers, I got a configure error that vc4 also needs to be added as a prerequisite. As-is, 19.0.* mesa won't build the "imx-drm_dri.so" on non-Android platforms. Hence the small mesa patch I attached.
That was with autotools. These issues may have been resolved with meson, so please take the latest master, apply the patch I sent, try building what you need and report back.
Oh, right. I have my "warrior"-color glasses on :)
The patch is now in master. Reopen if additional fixing is needed.