[Buildroot] [PATCH] package/libgpiod: bump version to 1.6

Bartosz Golaszewski brgl at bgdev.pl
Thu Oct 29 13:12:24 UTC 2020


On Thu, Oct 29, 2020 at 2:06 PM Michael Nosthoff <buildroot at heine.tech> wrote:
>
> Hi,
>
> On Thursday, October 29, 2020 13:50 CET, Thomas Petazzoni <thomas.petazzoni at bootlin.com> wrote:
>
> >
> > Hum, this is a bit annoying. And upstream is not willing to have proper
> > conditional logic to keep supporting kernels older than 5.5 ? 5.5 is
> > not that old, it seems odd to so quickly drop support. Even 5.4 is the
> > current LTS kernel !
>
> At least that's how I interpret this comment in the NEWS for 1.5 [0]:
>
> - added support for bias flags which are a new functionality first available in
>   linux v5.5; subsequently the library now requires v5.5 kernel headers to
>   build;
>
> But maybe Bartosz can clarify on this, as he basically is the "upstream" :)
>
>
> Regards,
> Michael
>
> [0] https://git.kernel.org/pub/scm/libs/libgpiod/libgpiod.git/tree/NEWS
>

Hi Thomas!

I don't want to have an ifdef hell in libgpiod depending on symbol
presence/kernel version. I much better prefer to support multiple
stable branches. v1.4.x will be supported for as long as linux v5.4 is
supported.

That being said: libgpiod only requires the v5.5 headers to build. It
will still work on older kernels unless someone uses features that
aren't supported.

Bartosz



More information about the buildroot mailing list