[Buildroot] [PATCHv3 02/15] directfb: mark as available only for gcc >= 4.5

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Fri Sep 11 06:57:35 UTC 2015


Dear Peter Korsgaard,

On Thu, 10 Sep 2015 14:20:28 +0200, Peter Korsgaard wrote:

> Not directly related to this commit, but even though directfb is a
> library I think it makes more sense to use 'depends on' (and default y)
> for these options for "big libraries", as:
> 
> - People are likely to explicitly enable those libraroes if they want
>   them
> 
> - Gstreamer support size is insignificant compared to the library, and
>   people are likely to want E.G. directfb support in gstreamer if they
>   enable directfb and gstreamer, so the default y is nice
> 
> - We don't need to propagate the (often fairly complicated) library
>   dependencies to the users
> 
> This applies for E.G. wayland and Qt as well.
> 
> But that can (should) be handled outside this series.

I agree. In fact for DirectFB there is already a mix of "select" and
"depends on". But we can't blame anyone: it's not always very clear
which one to use, so we have to clarify such things once a package
starts to be used by a significant number of other packages.

Best regards,

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



More information about the buildroot mailing list