[Buildroot] [PATCH v9 10/11] package/ti-rogue-um: new package

Thomas Petazzoni thomas.petazzoni at bootlin.com
Tue Aug 22 10:40:49 UTC 2023


On Fri, 23 Jun 2023 09:30:39 +0200
François Perrad <francois.perrad at gadz.org> wrote:

> > +# ti-rogue-um is a egl/gles provider only if libdrm is installed
> > +TI_ROGUE_UM_DEPENDENCIES = libdrm wayland
> 
> useless built dependencies (nothing is built, blobs are copied), runtime
> dependencies in Config.in are enough.

I haven't checked in detail, but these may in fact be build
dependencies, and often are. If the ti-rogue-um package consists of
closed-source user-space libraries that are linked against libdrm or
libwayland, then libdrm and wayland indeed need to be build
dependencies of ti-rogue-um. You're going to ask me: but why, if
ti-rogue-um comes as pre-compiled binary blobs?

Because things that are going to link against ti-rogue-um will fail.

Typically:

qt5 -> libgles -> ti-rogue-um

When Qt5 will link against libOpenGLES.so provided by ti-rogue-um, if
libdrm.so and libwayland.so are not available, that link stage will
fail.

So libdrm and wayland are not just runtime dependencies. They are
build-time dependencies.

We have the same situation with a number of other closed-source OpenGL
implementations packaged in Buildroot (look at gcnano-binaries for
example).

Best regards,

Thomas
-- 
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com



More information about the buildroot mailing list