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
-- 
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to