[Buildroot] [PATCH 1/1] package/mtd: crypto support needs linux-headers

Fabrice Fontaine fontaine.fabrice at gmail.com
Tue Aug 11 15:01:27 UTC 2020


Le mar. 11 août 2020 à 12:30, Thomas Petazzoni
<thomas.petazzoni at bootlin.com> a écrit :
>
> On Tue, 11 Aug 2020 11:19:17 +0200
> Fabrice Fontaine via buildroot <buildroot at busybox.net> wrote:
>
> > crypto support needs linux-headers as it includes <linux/hash_info.h>
> > since version 2.1.2 and
> > https://github.com/sigma-star/mtd-utils/commit/a739b59efe7996e3bdcbe8b17743dc05ac7c110a
> >
> > Fixes:
> >  - http://autobuild.buildroot.org/results/dbaeed9e9e2af191166808d2d6d6d3c2e5051c2c
>
> You can't do that, as linux-headers is only used for the internal
> toolchain backend. Also the kernel headers are already present in all
> toolchains, so how could this change anything ?
I was not aware that kernel headers were already present in all
toolchains. Thanks for spotting my mistake. I'll send a v2 adding a
dependency on headers 4.12 as this is the real issue.

However, it should be noted that we have an "issue" with the iputils
package as it has an optional dependency on linux-headers since commit
9ffcd9279e5505535a73cf1200b3a86fd425cf32.
I assume that this dependency is also not needed?
>
> Thomas
> --
> Thomas Petazzoni, CTO, Bootlin
> Embedded Linux and Kernel engineering
> https://bootlin.com
Best Regards,

Fabrice



More information about the buildroot mailing list