[Buildroot] [PATCH 1/2 v3] linux/tools: make it a real, separate package

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Thu Sep 22 17:49:41 UTC 2016


Hello,

On Thu, 22 Sep 2016 16:58:17 +0200, Peter Korsgaard wrote:

> In this case there isn't actually a real circular dependency, as the
> only dependency between openssl and cryptodev-linux is the cryptodev.h
> header, right?
> 
> So another solution could have been to split the cryptodev-linux package
> in two, like we do for mesa3d and mesa3d-headers.

Yes, possibly this could have been done. However, mesa3d/mesa3d-headers
is not about a split really. mesa3d-headers is only here to provide the
OpenGL headers when they are not provided by the selected OpenGL
implementation. So you never use mesa3d+mesa3d-headers, for example.

> The cryptodev-linux package would build the kernel module (and depend
> on linux), whereas the cryptodev-linux-headers package would only
> install cryptodev.h (and not have a compile time dependency on linux).

Correct. But there was really no reason for those "Linux tools" to be
built as part of the linux package, so I think Yann's approach is just
fine.

BTW, Yann sent his initial series on July 8th, so 2.5 months ago, so
you should have proposed alternate solutions by then :-) Why do you
wait for me to apply the patches to start the discussion ? :-)

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com



More information about the buildroot mailing list