[OE-core] recipes-kernel/linux-libc-headers/linux-libc-headers.inc question

Niko Mauno niko.mauno at vaisala.com
Fri Aug 31 15:41:18 UTC 2018


https://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=eb24d4aeacaad9d41ddcbefd8d2ac96e95548183
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

-Niko



More information about the Openembedded-core mailing list