[OE-core] recipes-kernel/linux-libc-headers/linux-libc-headers.inc question
Richard Purdie
richard.purdie at linuxfoundation.org
Tue Sep 4 10:19:57 UTC 2018
On Fri, 2018-08-31 at 18:41 +0300, Niko Mauno wrote:
> https://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=eb24d4aeac
> aad9d41ddcbefd8d2ac96e95548183
> apparently is needed for 4.15, but it breaks with 4.14 as we get
>
> ERROR: linux-libc-headers-4.14-r0 do_install: oe_multilib_header:
> Unable to find header asm/bpf_perf_event.h.
>
> I used following to work this around in our own linux-libc-
> headers_4.14.bb:
>
> do_install_armmultilib_prepend() {
> touch ${D}${includedir}/asm/bpf_perf_event.h
> }
>
> but curious if somebody could suggest a better mitigation
The options are really what you've done, copy the .inc and edit or use
the never libc-headers. It doesn't need to match your kernel version
and newer libc-headers should be very backwards compatible.
Cheers,
Richard
More information about the Openembedded-core
mailing list