meta data for this page
headers
kernel include vs libc include
How to use header file from current kernel not from distro /usr/include/linux ?
Package linux-libc-headers provides /usr/include.
This is a description of this use case: Using Headers to Interface with Devices
There is no clean solution. If vendor provides custom kernel also should provides custom (patched) linux-libc-headers.
Solutions:
- Some recipes copies needed .h files from
STAGING_KERNEL_DIRto package source:- src/meta-openembedded/meta-oe/recipes-kernel/turbostat/turbostat_3.4.bb